Skip to content

TooltipHandle

Defined in: ui/src/attachTooltip.ts:41

Controller returned by attachTooltip. The tooltip is inert until you drive it: attachTooltip wires no input of its own, so it can’t clobber the anchor’s handlers and you stay free to trigger on whatever you like — hover, focus, long-press, or programmatically.

dispose(): void

Defined in: ui/src/attachTooltip.ts:49

Destroy the content node and release the overlay slot.

void


setActive(active): void

Defined in: ui/src/attachTooltip.ts:47

Show (true) or hide (false) the bubble. The signature lines up 1:1 with an onHover(hovering) callback, so the common hover wiring is just anchor.update({ onHover: tip.setActive }).

boolean

void