@playlyfe/custom-event-polyfilldeprecated

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

Usage no npm install needed!

<script type="module">
  import playlyfeCustomEventPolyfill from 'https://cdn.skypack.dev/@playlyfe/custom-event-polyfill';
</script>

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