MCPcopy Create free account
hub / github.com/pingdotgg/t3code / dispatchEvent

Method dispatchEvent

apps/web/src/contextMenuFallback.test.ts:58–63  ·  view source on GitHub ↗
(event: FakeDomEvent)

Source from the content-addressed store, hash-verified

56 }
57
58 dispatchEvent(event: FakeDomEvent) {
59 for (const listener of this.listeners.get(event.type) ?? []) {
60 listener(event);
61 }
62 return true;
63 }
64
65 set textContent(value: string) {
66 this.textValue = value;

Callers 3

dispatchPreviewActionFunction · 0.80

Calls 2

listenerFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected