1.0.0 • Published 10 months ago

custom-event-conjurer v1.0.0

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
10 months ago

custom-event-conjurer

Create and dispatch custom event

Install:

npm i --save custom-event-conjurer

Use:

import { customEventConjurer } from 'custom-event-conjurer';

customEventConjurer({
  name: 'eventName',
  detail: {
    detailProperty: 'detailValue'
  },
  bubbles: true
});
1.0.0

10 months ago