node package manager

delegate-dom

Low-level event delegation library.

delegate-dom

Low-level event delegation library.

$ npm install delegate-dom
var delegate = require('delegate-dom')
 
delegate.on(document.body, 'ul li a', 'click', function self (e) {
  delegate.off(document.body, 'click', self);
})

MIT