@f/dom-events

A list of all DOM events

Stats

StarsIssuesVersionUpdatedCreatedSize
@f/dom-events
001.0.46 years ago6 years agoMinified + gzip package size for @f/dom-events in KB

Readme

dom-events

Git tag NPM version Code style

A list of all DOM events (probably not totally complete, but feel free to send a PR if one you want isn't included), exported as an array.

Installation

$ npm install @f/dom-events

Usage

var domEvents = require('@f/dom-events')

function delegate (root) {
  domEvents.forEach(function (name) {
    root.addEventListener(name, function () {
      // delegate the event
    })
  })
}

License

MIT

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.