The component is used to display a linear progress bar. It can either display a progress bar that shows the user how much of a task has been completed. In the case where the percentage is not known it can be used to display an animated progress bar so the user can see that an operation is in progress.
<ons-progress-bar> takes two different values in
indeterminate attribute is also available. These values can be updated at any time.
Attributes are added directly to the element. You can do this in HTML or JS.
<ons-progress-bar someAttribute="true" anotherAttribute><ons-progress-bar>
|modifier||String||Change the appearance of the progress indicator. Optional.|
|value||Number||Current progress. Should be a value between 0 and 100. Optional.|
|secondary-value||Number||Current secondary progress. Should be a value between 0 and 100. Optional.|
|indeterminate||If this attribute is set, an infinite looping animation will be shown. Optional.|
Properties are accessed on the element through JS, and should be get and set directly. For example:
|value||Current progress. Should be a value between 0 and 100.|
|secondaryValue||Current secondary progress. Should be a value between 0 and 100.|
If this property is
Modifiers are set in the
modifier attribute. To use more than one, separate them by spaces. For example:
|material||Display a Material Design progress bar.|
For bug reports and feature requests use our GitHub Issues page.