MCPcopy Create free account
hub / github.com/CSAILVision/gandissect / eventFunctionWrap

Method eventFunctionWrap

client_dist/ganclient.js:413–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411 for (const eventName of eventNames.split(' ')) {
412 this.eventListeners.push({ eventName, eventFunction });
413 const eventFunctionWrap = e => eventFunction(e.detail, e);
414 this.element.addEventListener(eventName, eventFunctionWrap, false);
415 }
416 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected