HTML DOM ProgressEvent
❮ События ДОМ ❮ Объекты событий
Объект ProgressEvent
События, возникающие при загрузке внешних ресурсов, относятся к объекту ProgressEvent.
Свойства и методы 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 |
Унаследованные свойства и методы
ProgressEvent наследует все свойства и методы от:
Типы событий
Эти типы событий относятся к объекту 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 |
❮ События ДОМ ❮ Объекты событий