Nossos voluntários ainda não traduziram este artigo para o Português (do Brasil). Junte-se a nós e ajude-nos a fazer o trabalho!
Você também pode ler o artigo em English (US).
The loadend
event is fired when progress has stopped on the loading of a resource (e.g., after error
, abort
, or load
have been dispatched). This applies, for example, to XMLHttpRequest
calls, and to the content of an <img>
or <video>
element.
General info
- Specification
- Progress
- Interface
- ProgressEvent
- Bubbles
- No
- Cancelable
- No
- Target
HTMLImageElement
, for example- Default Action
- None
Properties
Property | Type | Description |
---|---|---|
target Read only |
EventTarget |
The event target (the topmost target in the DOM tree). |
type Read only |
DOMString |
The type of event. |
bubbles Read only |
Boolean |
Whether the event normally bubbles or not. |
cancelable Read only |
Boolean |
Whether the event is cancellable or not. |
lengthComputable Read only |
Boolean |
Specifies whether or not the total size of the transfer is known. Read only. |
loaded Read only |
unsigned long (long) | The number of bytes transferred since the beginning of the operation. This doesn't include headers and other overhead, but only the content itself. Read only. |
total Read only |
unsigned long (long) | The total number of bytes of content that will be transferred during the operation. If the total size is unknown, this value is zero. Read only. |
Related events
See also
Etiquetas do documento e colaboradores
Etiquetas:
Colaboradores desta página:
mfluehr,
fscholz,
Sebastianz,
chrisdavidmills,
teoli,
Sheppy,
ethertank,
louisremi
Última atualização por:
mfluehr,