HTML DOM ProgressEvent
❮ Události DOM ❮ Objekty událostí
Objekt ProgressEvent
Události, ke kterým dochází při načítání externích zdrojů, patří do objektu ProgressEvent.
Vlastnosti a metody 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 |
Dědičné vlastnosti a metody
ProgressEvent zdědí všechny vlastnosti a metody z:
Typy událostí
Tyto typy událostí patří do objektu 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 |
❮ Události DOM ❮ Objekty událostí