Progress objects are new to HTML5.
The Progress object represents an HTML-lt;progress-gt; element.
The element represents the progress of the task.
You can access the element by using getElementById():
You can use the document.createElement() method to create an element:
Property | Describe |
---|---|
labels | Returns a list of labels for the progress bar, if any |
max | Set or return the value of the progress bar max property |
position | Returns the position of the current progress bar |
value | Set or return the value of the progress bar value property |
Progress objects also support standard properties and events.