MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / constructor

Method constructor

source code/ink/focus.ts:23–27  ·  view source on GitHub ↗
(
    dispatchFocusEvent: (target: DOMElement, event: FocusEvent) => boolean,
  )

Source from the content-addressed store, hash-verified

21 private focusStack: DOMElement[] = []
22
23 constructor(
24 dispatchFocusEvent: (target: DOMElement, event: FocusEvent) => boolean,
25 ) {
26 this.dispatchFocusEvent = dispatchFocusEvent
27 }
28
29 focus(node: DOMElement): void {
30 if (node === this.activeElement) return

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected