HTML DOM ProgressEvent
❮ Eventos DOM ❮ Objetos de evento
O objeto ProgressEvent
Os eventos que ocorrem ao carregar recursos externos pertencem ao objeto ProgressEvent.
Propriedades e métodos do evento 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 |
Propriedades e métodos herdados
O ProgressEvent herda todas as propriedades e métodos de:
Tipos de eventos
Esses tipos de eventos pertencem ao 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 evento