Tiến trình HTML DOMSự kiện
❮ Sự kiện DOM ❮ Đối tượng sự kiện
Đối tượng ProgressEvent
Đối tượng ProgressEvent xử lý các sự kiện xảy ra khi tải tài nguyên bên ngoài.
Sự kiện tiến bộ
Event | Occurs When |
---|---|
onerror | An error occurs while loading an external file |
onloadstart | The browser starts looking for the specified file |
Thuộc tính sự kiện tiến bộ
Property | Returns |
---|---|
lengthComputable | If the length of the progress can be computable or not |
loaded | How much work has been loaded |
total | The total amount that will be loaded |
Thuộc tính và phương thức kế thừa
ProgressEvent kế thừa tất cả các thuộc tính và phương thức từ: