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
HTMLImageElement, for example
|| ||The event target (the topmost target in the DOM tree).|
|| ||The type of event.|
|| ||Whether the event normally bubbles or not.|
|| ||Whether the event is cancellable or not.|
|| ||Specifies whether or not the total size of the transfer is known. 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.|
||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.|
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.