The ProgressEvent.loaded
read-only property is an integer representing the amount of work already performed by the underlying process. The ratio of work done can be calculated with the property and ProgressEvent.total
. When downloading a resource using HTTP, this value is specified in bytes (not bits), and only represents the part of the content itself, not headers and other overhead.
On this page
ProgressEvent: loaded property
Value
A number.
Specifications
Specification |
---|
XMLHttpRequest Standard # dom-progressevent-loaded |
Browser compatibility
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
loaded |
1 | 12 | 3.5 | 10 | ≤12.1 | 3.1 | ≤37 | 18 | 4 | ≤12.1 | 2 | 1.0 |
See also
- The
ProgressEvent
interface it belongs to.
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/ProgressEvent/loaded