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

Function trigger

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

Source from the content-addressed store, hash-verified

1479 let selectors = selectorsOf(args.popupId)
1480 const send = (message: MenuMessage) => Queue.offerUnsafe(queue, message)
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

Callers 8

returnToFunction · 0.70
openingFunction · 0.70
onMouseUpFunction · 0.70
onPointerEnterFunction · 0.70
onMouseMoveFunction · 0.70
rememberFunction · 0.70
onChangeFunction · 0.70
Router.test.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected