Expand description
Hover intent (Radix-aligned outcomes).
Radix components like Tooltip and HoverCard rely on a small “hover intent” policy: delay-open and/or delay-close based on pointer hover, with deterministic transitions.
In Fret:
crate::headless::hover_intentprovides the deterministic state machine.crate::declarative::hover_intentdrives it from the runtime clock + schedules frames.
This module provides a stable, Radix-aligned entry point and keeps component call sites from
reaching into crate::declarative directly.
Structs§
Functions§
- drive
- Drive hover intent using the UI runtime clock (frame count) and request continuous frames while delayed transitions are pending.