MCPcopy Create free account
hub / github.com/play-co/devkit / dispatchWindowEvent

Function dispatchWindowEvent

modules/devkit-simulator-client/client.js:3–7  ·  view source on GitHub ↗
(eventName)

Source from the content-addressed store, hash-verified

1/* globals CONFIG, GC, logger */
2
3var dispatchWindowEvent = function(eventName) {
4 var e = document.createEvent('Event');
5 e.initEvent(eventName, true, true);
6 window.dispatchEvent(e);
7};
8
9exports.onLaunch = function () {
10 var deviceId = CONFIG.simulator.deviceId;

Callers 1

client.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…