W3cubDocs

/Haxe JavaScript

ProgressElement

package js.html

extends ElementDOMElementNodeEventTarget

@:native("HTMLProgressElement") Available on js

The HTMLProgressElement interface provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of progress elements.

Documentation HTMLProgressElement by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Variables

max:Float

Is a double value reflecting the content attribute of the same name, limited to numbers greater than zero. Its default value is 1.0.

read only position:Float

Returns a double value returning the result of dividing the current value (value) by the maximum value (max); if the progress bar is an indeterminate progress bar, it returns -1.

value:Float

Is a double value that reflects the current value; if the progress bar is an indeterminate progress bar, it returns 0.

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/ProgressElement.html