ProgressEvent() constructor returns a new
ProgressEvent object, representing the current completion of a long process.
new ProgressEvent(type) new ProgressEvent(type, options)
A string with the name of the event. It is case-sensitive and browsers set it to
An object that, in addition of the properties defined in
Event(), can have the following properties:
A boolean value 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. It defaults to
A number 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. It defaults to
A number 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. It defaults to
|XMLHttpRequest Standard |
BCD tables only load in the browser
ProgressEventinterface it belongs to.