Skip to main content

tooltip_last_pointer_model

Function tooltip_last_pointer_model 

Source
pub fn tooltip_last_pointer_model<H: UiHost>(
    cx: &mut ElementContext<'_, H>,
) -> Model<Option<Point>>
Expand description

Returns a per-tooltip pointer tracking model stored in element state.

Tooltip pointer tracking is used to approximate Radix Tooltip’s hoverable-content grace area: while open, the tooltip remains open if the pointer lies within a “safe corridor” between the trigger anchor and the floating content bounds.