jspolyfill-custom-event

0.2.0 • Public • Published

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.

Package Sidebar

Install

npm i jspolyfill-custom-event

Weekly Downloads

1

Version

0.2.0

License

MIT

Last publish

Collaborators

  • crisoforo