package js.html
extends Event
Available on jsThe
ProgressEvent
interface represents events measuring progress of an underlying process, like an HTTP request (for anXMLHttpRequest
, or the loading of the underlying resource of animg
,audio
,video
,style
orlink
).Documentation ProgressEvent by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
new (type:String, ?eventInitDict:ProgressEventInit)
Throws:
null |
DOMError |
---|
read only lengthComputable:Bool
Is a Boolean
flag indicating if the total work to be done, and the amount of work already done, by the underlying process is calculable. In other words, it tells if the progress is measurable or not.
read only loaded:Int
Is an unsigned long long
representing the amount of work already performed by the underlying process. The ratio of work done can be calculated with the property and ProgressEvent.total
. When downloading a resource using HTTP, this only represent the part of the content itself, not headers and other overhead.
read only total:Int
Is an unsigned long long
representing the total amount of work that the underlying process is in the progress of performing. When downloading a resource using HTTP, this only represent the content itself, not headers and other overhead.
© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/ProgressEvent.html