MCPcopy Create free account
hub / github.com/coder/ghostty-web / dispatchEvent

Function dispatchEvent

lib/input-handler.test.ts:125–130  ·  view source on GitHub ↗
(event: any)

Source from the content-addressed store, hash-verified

123 }
124 },
125 dispatchEvent(event: any) {
126 const handlers = listeners.get(event.type) || [];
127 for (const handler of handlers) {
128 handler(event);
129 }
130 },
131 // Mock childNodes and removeChild for text node cleanup test
132 childNodes: [] as Node[],
133 removeChild(node: Node) {

Callers

nothing calls this directly

Calls 1

handlerFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…