MCPcopy Create free account
hub / github.com/Effect-TS/effect / input

Function input

packages/effect/src/ui/kit/Menu.ts:1483–1486  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1481 const trigger = (): HTMLElement | null => document.querySelector<HTMLElement>(selectors.active)
1482 const popup = (): HTMLElement => document.getElementById(current.popupId) ?? node
1483 const input = (): HTMLInputElement | null =>
1484 current.inputId === null
1485 ? null
1486 : document.getElementById(current.inputId) as HTMLInputElement | null
1487 const inside = (target: Node): boolean =>
1488 (node.contains(target) && !blocker.is(target)) ||
1489 (isElement(target) && target.closest(selectors.any) !== null)

Callers 7

OTPField.tsFile · 0.90
Checkbox.tsFile · 0.90
makeRadioGroupFunction · 0.90
focusActiveFunction · 0.70
openingFunction · 0.70
onKeyDownFunction · 0.70
Channel.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected