ons-progress-circular

This component displays a circular progress indicator. It can either be used to show how much of a task has been completed or to show a looping animation to indicate that an operation is currently running.

Tutorial

Progress

ons-progress-circular takes two different values in value and secondary-value attributes. indeterminate attribute is also available. These values can be updated at any time.

See also

Attributes are added directly to the element. You can do this in HTML or JS.

HTML: <ons-progress-circular someAttribute="true" anotherAttribute><ons-progress-circular>
JS: document.querySelector('ons-progress-circular').setAttribute('someAttribute', 'true')

Name Type Description
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: document.querySelector('ons-progress-circular').value.

Name Description
value Current progress. Should be a value between 0 and 100.
secondaryValue Current secondary progress. Should be a value between 0 and 100.
indeterminate If this property is true, an infinite looping animation will be shown.

Need Help?

If you have any questions, use our Community Forum or talk to us on Discord chat. The Onsen UI team and your peers in the community will work together to help solve your issues.

For bug reports and feature requests use our GitHub Issues page.