An open API service indexing awesome lists of open source software.

https://github.com/npm-dom/delegate-dom

Event delegation library
https://github.com/npm-dom/delegate-dom

Last synced: about 1 month ago
JSON representation

Event delegation library

Awesome Lists containing this project

README

          

# delegate-dom

Low-level event delegation library.

## Install

$ npm install delegate-dom

## Example

```js
var delegate = require('delegate-dom')

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

## License

MIT