event-listeners

1.0.0 • Public • Published

Event Listeners

NPM Version Build Status Licensing Changelog Gitter Chat

Event Listeners are a polyfill for Event, CustomEvent, addEventListener, removeEventListener, dispatchEvent, and DOMContentLoaded.

document.addEventListener('DOMContentLoaded', function () {
    // do stuff
});

FAQ

What’s the browser support?

Event Listeners works all major 2014+ browsers and polyfills missing features in Firefox 6-10, Interet Explorer 8-11, Opera 10-11.5, and Safari 4-7.

What’s the catch?

Event Listeners is public domain, dependency free, and 1162 bytes when minified and gzipped.

Package Sidebar

Install

npm i event-listeners

Weekly Downloads

7

Version

1.0.0

License

CC0-1.0

Unpacked Size

14.8 kB

Total Files

11

Last publish

Collaborators

  • jonathantneal
  • yjm890321