CustomEvent constructor for IE 9 and higher where is not supported.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.editorconfig
.gitignore
CustomEvent.js
LICENSE.mc
README.md
package.json

README.md

CustomEvent

The CustomEvent() constructor creates a new CustomEvent.

Installation

npm install --save-dev jspolyfill-custom-event

Usage

require( 'jspolyfill-custom-event' )();

Note: Make sure to add the extra set of parenthesis at the end to fire the function that registers the creation of the polyfill.

Syntax

var event = new CustomEvent(typeArg, customEventInit);

Visit MDN for More information.