Reputation: 4241
How can I set a progress element to indeterminate after setting a value?
Upvotes: 4
Views: 3510
Reputation: 6404
According to your documentation:
If there is no
value=""
attribute, the progress bar is indeterminate; this indicates that an activity is ongoing with no indication of how long it is expected to take.
And still according to the documentation:
To change the progress bar to indeterminate after giving it a value you must remove the
value
attribute withelement.removeAttribute("value")
Upvotes: 5