MCPcopy Create free account
hub / github.com/ampproject/amphtml / initCustomEvent

Function initCustomEvent

test/unit/utils/test-event-helper.js:289–291  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

287 win.document.createEvent = function () {
288 return {
289 initCustomEvent() {
290 initCustomEventSpy();
291 },
292 };
293 };
294 createCustomEvent(win, 'foo', {bar: 123});

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected