MCPcopy Create free account
hub / github.com/anomalyco/opencode / enter

Function enter

packages/app/src/utils/aim.ts:125–130  ·  view source on GitHub ↗
(id: string, event: MouseEvent)

Source from the content-addressed store, hash-verified

123 }
124
125 const enter = (id: string, event: MouseEvent) => {
126 if (!props.enabled()) return
127 state.over = id
128 move(event)
129 request(id)
130 }
131
132 const leave = (id: string) => {
133 if (state.over === id) state.over = undefined

Callers

nothing calls this directly

Calls 3

enabledMethod · 0.80
moveFunction · 0.70
requestFunction · 0.70

Tested by

no test coverage detected