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 only represent the part of the content itself, not headers and other overhead.
Syntax
value = ProgressEvent.loaded
Specifications
Specification | Status | Comment |
---|---|---|
XMLHttpRequest The definition of 'ProgressEvent.loaded' in that specification. |
Living Standard |
Browser compatibility
Feature | Chrome | Edge | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|---|
Basic support | No support | (Yes) | 3.5 (1.9.1) | No support | No support | No support |
See also
- The
ProgressEvent
interface it belongs to.