HTML DOM ProgressEvent
L'oggetto ProgressEvent
Gli eventi che si verificano durante il caricamento di risorse esterne appartengono all'oggetto ProgressEvent.
Proprietà e metodi di 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 |
Proprietà e metodi ereditati
ProgressEvent eredita tutte le proprietà e i metodi da:
Tipi di eventi
Questi tipi di eventi appartengono all'oggetto 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 |