class js.html.ProgressElement extends Element
Available on js
The HTML progress (<progress>
) element is used to view the completion progress of a task. While the specifics of how it's displayed is left up to the browser developer, it's typically displayed as a progress bar.
Documentation for this class was provided by MDN.
Instance Fields
This attribute describes how much work the task indicated by the progress
element requires. Setter throws DOMException.
- This attribute specifies how much of the task that has been completed. 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.
You can use the orient
property to specify whether the progress bar should be rendered horizontally (the default) or vertically. The :indeterminate
pseudo-class can be used to match against indeterminate progress bars.