Progress bars inform users about the status of ongoing processes, such as loading an app, submitting a form, or saving updates. There are two types of progress bars:
Determinate is the default type. It should be used when the percentage of an operation is known. The progress is represented by setting the
value property. This can be used to show the progress increasing from 0 to 100% of the track.
buffer property is set, a buffer stream will show with animated circles to indicate activity. The value of the
buffer property will also be represented by how much visible track there is. If the value of
buffer is less than the
value property, there will be no visible track. If
buffer is equal to
1 then the buffer stream will be hidden.
The indeterminate type should be used when it is unknown how long the process will take. The progress bar is not tied to the
value, instead it continually slides along the track until the process is complete.
|Description||If the buffer and value are smaller than 1, the buffer circles will show. The buffer should be between [0, 1].|
|Description||The color to use from your application's color palette. Default options are: |
"dark". For more information on colors, see theming.
"danger" ｜ "dark" ｜ "light" ｜ "medium" ｜ "primary" ｜ "secondary" ｜ "success" ｜ "tertiary" ｜ "warning" ｜ string ｜ undefined
|Description||The mode determines which platform styles to use.|
"ios" ｜ "md"
|Description||If true, reverse the progress bar direction.|
|Description||The state of the progress bar, based on if the time the process takes is known or not. Default options are: |
"determinate" (no animation),
"indeterminate" (animate from left to right).
"determinate" ｜ "indeterminate"
|Description||The value determines how much of the active bar should display when the |
"determinate". The value should be between [0, 1].
No events available for this component.
No public methods available for this component.
|The progress bar that shows the current value when |
"determinate" and slides back and forth when
|The animated circles that appear while buffering. This only shows when |
buffer is set and
|The track bar behind the progress bar. If the |
buffer property is set and
"determinate" the track will be the width of the
|Background of the progress track, or the buffer bar if |
buffer is set
|DEPRECATED, use |
|Background of the progress bar representing the current value|
No slots available for this component.