dom-event-special
a helper to add/remove events to dom nodes in a similar way the
jQuery
Events module does. It also supportcustom events
Install
npm i --save dom-event-special
Usage
var evt = ;var closest = ;var query = ; // register an event lifecycle hooks similar to// the jQuery special event interface, but without jqueryevt; // a function to pass to addEventListener for a clickvar { console;}; // add event// - can use namespaces// - can use delegationevt; evt; evt;