custom-event-conjurer
v1.0.0
Published
Custom event function
Downloads
8
Readme
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
});