MCPcopy Index your code
hub / github.com/SpringRoll/SpringRoll / newEvent

Function newEvent

src/debug/ie.js:1–5  ·  view source on GitHub ↗
(eventName, bubble = false, cancelable = false)

Source from the content-addressed store, hash-verified

1export const newEvent = (eventName, bubble = false, cancelable = false) => {
2 const event = document.createEvent('Event');
3 event.initEvent(eventName, bubble, cancelable);
4 return event;
5};
6
7//Small check to see if browser is IE11;
8// @ts-ignore

Callers 3

Controller.spec.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected