custom-event-autopolyfill

A window.CustomEvent polyfill, which agressively autopolyfills for test environments

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
custom-event-autopolyfill
000.1.38 years ago8 years agoMinified + gzip package size for custom-event-autopolyfill in KB

Readme

CustomEvent
A window.CustomEvent polyfill.
Created to correct some minor errors/issues with the MDN snippet polyfill. Additionally, wrapped in a module for NPM and agressively autopolyfill'd in order to maximally support unit test environments in particular (node with mocha and jsDom was not served by any of the many custom event polyfill variants out there at time of writing).

Install

npm install custom-event-autopolyfill