Tooltip - mirrors Fluxon's tooltip/1 API with a small LiveView hook for
hover/focus timing and viewport-aware placement.
Summary
Functions
Attributes
id(:string) - Stable DOM id for the tooltip hook; auto-generated when omitted, mirroring Fluxon's tooltip (drop-in parity). Defaults tonil.value(:string) - Plain-text tip when no :content slot is given. Defaults tonil.placement(:string) - Preferred side of the trigger; may flip for viewport fit. Defaults to"top". Must be one of"top","bottom","left", or"right".delay(:integer) - Milliseconds before the tip appears on hover/focus. Defaults to200.arrow(:boolean) - Show the small pointer arrow toward the trigger. Defaults totrue.class(:any) - Extra classes merged onto the root element. Defaults tonil.- Global attributes are accepted. Arbitrary HTML/
phx-*attributes passed through.
Slots
inner_block(required) - Trigger element that shows the tip.content- Rich tip body; overridesvaluewhen present.