pub fn progress_indeterminate(bar_color: Color) -> ElExpand description
Indeterminate horizontal loader — same dimensions as
progress, but with a small bar of bar_color sliding back
and forth across a muted track on a continuous loop. Use this in
progress slots where no completion ratio is available (uploading
to a server that doesn’t report bytes-sent, parsing a stream of
unknown length, etc.). The runtime keeps the host loop ticking
automatically while one is in the tree.
ⓘ
use aetna_core::prelude::*;
row([
text("Uploading…").label(),
spacer(),
progress_indeterminate(tokens::PRIMARY)
.width(Size::Fixed(120.0)),
])