Skip to main content

indeterminate_circular_progress

Function indeterminate_circular_progress 

Source
pub fn indeterminate_circular_progress(
    id: impl Into<ElementId>,
    label: impl Into<SharedString>,
    display_size: Size<Rems>,
    opacity: f32,
    window: &mut Window,
    cx: &mut App,
) -> AnyElement
Expand description

Animate a bounded circular indicator while its box intersects the viewport and ancestor clip. Its original clock continues offscreen, so scrolling back does not restart playback. Reduced motion retains the sampler’s stop policy.