patch.dom-event
v1.0.0
Published
## :warning: DEPRECATED :warning:
Downloads
2
Readme
dom-event
:warning: DEPRECATED :warning:
This module exists to fix some kik/Azer issues. New projects should not depend on this.
Add/remove DOM events
Usage
var on = require('dom-event')
var off = on.off
on(document.body, 'click', hello) // adds the event listener
off(document.body, 'click', hello) // removes
function hello () {
console.log('hello!')
}