delegate-dom

Low-level event delegation library.

npm install delegate-dom
1 downloads in the last day
3 downloads in the last week
17 downloads in the last month

delegate

Low-level event delegation library.

Installation

$ npm install delegate-dom

Example

delegate = require('delegate')

fn = delegate.on(document.body, 'ul li a', 'click', function (e) {
  delegate.off(document.body, 'click', fn);
})

License

MIT

npm loves you