HTML DOM PostępWydarzenie
❮ Wydarzenia DOM ❮ Obiekty zdarzeń
Obiekt ProgressEvent
Zdarzenia, które występują podczas ładowania zasobów zewnętrznych, należą do obiektu ProgressEvent.
Właściwości i 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 |
Dziedziczone właściwości i metody
ProgressEvent dziedziczy wszystkie właściwości i metody z:
Rodzaje wydarzeń
Te typy zdarzeń należą do obiektu 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 |
❮ Wydarzenia DOM ❮ Obiekty zdarzeń