Skip to main content

hover_intent

Function hover_intent 

Source
pub fn hover_intent<H: UiHost>(
    cx: &mut ElementContext<'_, H>,
    hovered: bool,
    cfg: HoverIntentConfig,
) -> HoverIntentUpdate
Expand description

Drive HoverIntentState using the UI runtime’s frame clock, and request continuous frames while the intent is in a delayed-transition state.