Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

custom-event-polyfill

kumarharsh1.5mMIT1.0.7

A polyfill for creating CustomEvents on IE9+ if the native implementation is missing.

polyfill, custom-event, CustomEvent, Web API Interface

readme

custom-event-polyfill

A polyfill for creating CustomEvents on IE9+ if the native implementation is missing.

Sauce Test Status

Install

# using yarn
$ yarn add custom-event-polyfill

# using npm
$ npm install --save custom-event-polyfill

Usage

Just include this polyfill before using any code which creates a CustomEvent object, ideally as early as possible.

Refer to the CustomEvent documentation for details on how to use it: https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent

Big Thanks

Cross-browser Testing Platform and Open Source <3 Provided by Sauce Labs.

License

MIT

changelog

1.0.7 (2019-04-08)

Bug Fixes

  • deps: upgrade vulnerable dependencies (26256e6)

1.0.6 (2018-07-27)

Bug Fixes

  • package: fix project name & references (2eb73b3)
  • ci: revert repository url (85aa99a)

1.0.5 (2018-07-22)

Bug Fixes

  • test: add support for saucelabs tests (fb213c5)

1.0.4 (2018-05-23)

Bug Fixes

  • Use correct test for undefined window (21a1b95)

1.0.3 (2018-05-15)

1.0.2 (2018-05-15)

1.0.1 (2018-05-15)

Bug Fixes

1.0.0 (2018-05-15)

Bug Fixes

  • change package name (9935c2f)
  • fix ponyfill test (949937d)
  • make defaultPrevented work on IE (8ce1942)
  • support node and other non-browser environments (ddf42a6)

BREAKING CHANGES

  • the package name has changed