Skip to main content

indeterminate_circular_progress_with_playback

Function indeterminate_circular_progress_with_playback 

Source
pub fn indeterminate_circular_progress_with_playback(
    id: impl Into<ElementId>,
    label: impl Into<SharedString>,
    display_size: Size<Rems>,
    opacity: f32,
    playback: &CircularProgressPlayback,
    cx: &App,
) -> AnyElement
Expand description

Draw with a caller-owned clock, retaining phase across virtual unmounts. Frame requests remain limited to visible paint. The owner must forward offscreen reduced-motion changes to CircularProgressPlayback::observe_reduced_motion.