HTML DOM ProgressEvent
❮ Sự kiện DOM ❮ Đối tượng sự kiện
Đối tượng ProgressEvent
Các sự kiện xảy ra khi tải tài nguyên bên ngoài, thuộc về Đối tượng ProgressEvent.
Thuộc tính và phương thức 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 |
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ừ:
Các loại sự kiện
Các loại sự kiện này thuộc về Đối tượng 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 |
❮ Sự kiện DOM ❮ Đối tượng sự kiện