THE WORLD'S LARGEST WEB DEVELOPER SITE

HTML DOM ProgressEvent

❮ DOM Events ❮ Event Objects


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:

The Event Object


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

❮ DOM Events ❮ Event Objects