Acara Kemajuan DOM HTML
Objek ProgressEvent
Peristiwa yang terjadi saat memuat sumber daya eksternal, milik Objek ProgressEvent.
Properti dan Metode 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 |
Properti dan Metode yang Diwarisi
ProgressEvent mewarisi semua properti dan metode dari:
Jenis Acara
Jenis acara ini milik Objek 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 |