1.0.0 • Published 10 months ago
custom-event-conjurer v1.0.0
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