Skip to main content

Module spinner

Module spinner 

Expand description

Spinner — a circular indeterminate-progress indicator.

Renders four dots orbiting a centre point at constant angular velocity, driven by wall-clock time captured at construction rather than per-frame mutation, so the widget is cheap to keep alive. Opts into Widget::needs_animation_frame permanently so the host keeps redrawing while any spinner is visible.

Structs§

Spinner

Constants§

DEFAULT_SIZE_PX
Sized to the concept’s body text (14px line-height ≈ 20px) while leaving the dots large enough for the alpha ramp to read.