Skip to content

npm-dom/delegate-dom

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

delegate-dom

Low-level event delegation library.

Install

$ npm install delegate-dom

Example

var delegate = require('delegate-dom')

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

License

MIT

Packages

No packages published

Languages

  • JavaScript 100.0%