HTML DOM ProgressEvent
The ProgressEvent Object
Events that occur when loading external resources, belongs to the ProgressEvent Object.
ProgressEvent Properties and Methods
Property/Method | Description |
---|---|
lengthComputable | Returns whether the length of the progress can be computable or not |
loaded | Returns how much work has been loaded |
total | Returns the total amount of work that will be loaded |
Inherited Properties and Methods
The ProgressEvent inherits all the properties and methods from:
Event Types
These event types belongs to the ProgressEvent Object:
Event | Description |
---|---|
onerror | The event occurs when an error occurs while loading an external file |
onloadstart | The event occurs when the browser starts looking for the specified media |