@blood5/trigger
v0.1.2
Published
trigger for blood5.
Downloads
2
Readme
@blood5/trigger
trigger for @blood5.
Install
npm i --save @blood5/trigger
Usage
const trigger = new Trigger();
trigger.on(TriggerEvents.Change, (e: any) => {
console.log(e);
});
trigger.fire(new ChangeEvent(TriggerEvents.Change, this, 'name', 'oldvalue', 'newValue'));