Evento de progreso HTML DOM
❮ Eventos DOM ❮ Objetos de eventos
El objeto ProgressEvent
Los eventos que ocurren al cargar recursos externos pertenecen al objeto ProgressEvent.
Propiedades y métodos de ProgressEvent
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 |
Propiedades y métodos heredados
El ProgressEvent hereda todas las propiedades y métodos de:
Tipos de eventos
Estos tipos de eventos pertenecen al objeto ProgressEvent:
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 |
❮ Eventos DOM ❮ Objetos de eventos