delegate-dom
Low-level event delegation library.
Last updated 4 years ago by tehshrike .
BSD · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install delegate-dom 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.1                                ...           latest (4 years ago)

6 Versions

  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
  • 0.0.1                                ...           6 years ago
  • 0.0.0                                ...           7 years ago
  • 0.0.1-security                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 2
Last Month 11
Dependencies (2)
Dev Dependencies (3)

Copyright 2014 - 2017 © taobao.org |