Progress Bar
<gstock-progress-bar>
|
GstockProgressBar
Showing Values
Use the default slot to show a value.
Indeterminate
Use the indeterminate attribute to to animate the progress bar
indeterminately. In this state, value is ignored and the label, if present, will not
be shown.
<gstock-progress-bar indeterminate></gstock-progress-bar>
Labels
Use the label attribute to label the progress bar and tell assistive
devices how to announce it.
<gstock-progress-bar value="50" label="Upload progress"></gstock-progress-bar>
Custom Height
Use the --height custom property to set the height of progress bar.
<gstock-progress-bar value="50" style="--height: 25px;"></gstock-progress-bar>