An animated loading bar, with coloured states.
The bar can be externally controlled via the
setProgress
util.
Add a bar named
page
for automatic control from Page
.
Props
Name
Description
Type
Default
name
The bar's name, for use in setProgress
string
Methods
Name
Signature
Description
progress
progress(completion: number, status?: LoadingBarStatus) => Promise<void>
Set (and animate to) a progress.
Parts
Name
Description
bar
The internal bar.