HTML DOM ProgressEvent
ProgressEvent object
Events that occur when loading external resources belong to the ProgressEvent object.
Properties and methods of Progress event
Attribute/Method | Description |
---|---|
lengthComputable | Is the length of the progress computable? |
loaded | Returns the amount of work loaded. |
total | Returns the total amount of work to be loaded. |
Inherited Properties and Methods
ProgressEvent inherits all properties and methods from the following objects:
Event Type
These event types belong to the ProgressEvent object:
Event | Description |
---|---|
onerror | This event occurs after an error occurs while loading an external file. |
onloadstart | This event occurs when the browser starts to look for the specified media. |