MCPcopy Index your code
hub / github.com/codeaashu/claude-code / setEventHandler

Function setEventHandler

src/ink/reconciler.ts:114–119  ·  view source on GitHub ↗
(node: DOMElement, key: string, value: unknown)

Source from the content-addressed store, hash-verified

112}
113
114function setEventHandler(node: DOMElement, key: string, value: unknown): void {
115 if (!node._eventHandlers) {
116 node._eventHandlers = {}
117 }
118 node._eventHandlers[key] = value
119}
120
121function applyProp(node: DOMElement, key: string, value: unknown): void {
122 if (key === 'children') return

Callers 2

applyPropFunction · 0.85
commitUpdateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected