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

Package detail

@playlyfe/custom-event-polyfill

kumarharsh303MITdeprecated1.0.4

This package has been superseded by the original custom-event-polyfill@1.0.6 package. Upgrade now.

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.

Install

# using yarn
$ yarn add @playlyfe/custom-event-polyfill

# using npm
$ npm install --save @playlyfe/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

License

MIT

changelog

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