pub fn circular_progress(
id: impl Into<ElementId>,
label: impl Into<SharedString>,
frame: CircularProgressFrame,
fraction: Option<f32>,
display_size: Size<Rems>,
opacity: f32,
) -> AnyElementExpand description
Paint a sampled circular frame in a caller-sized box, using the reference’s 24-unit canvas and 2-unit stroke. Pass a 20×24 rem box for xs/s button slots, or 24×24 for larger buttons. The parent owns the surrounding icon slot.
fraction supplies the measured accessibility value; None is indeterminate.
The caller supplies the accessible label and opacity (0.7 for loading buttons).