0.2.0 • Published 9 years ago
jspolyfill-custom-event v0.2.0
CustomEvent
The CustomEvent() constructor creates a new CustomEvent.
- Based on MDN Docs
Installation
npm install --save-dev jspolyfill-custom-eventUsage
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.