Dart API Referencedart:htmlProgressElement

ProgressElement Interface

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.

Extends

Element

Constructors

Code new ProgressElement() #

ProgressElement();

Fields

Code final NodeList labels #

final NodeList labels;

Code num max #

This attribute describes how much work the task indicated by the progress element requires.
num max;

Code final num position #

final num position;

Code num value #

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.

num value;

This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.