The ProgressEvent.total read-only property is an unsigned long long representing the total amount of work that the underlying process is in the progress of performing. When downloading a resource using HTTP, this only represent the content itself, not headers and other overhead.
Syntax
value = ProgressEvent.total
Specifications
| Specification | Status | Comment |
|---|---|---|
| Progress Events The definition of 'ProgressEvent.lengthComputable' in that specification. |
Candidate Recommendation | Initial definition. |
Browser compatibility
| Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|
| Basic support | Not supported | 3.5 (1.9.1) | Not supported | Not supported | Not supported |
| Feature | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
|---|---|---|---|---|---|
| Basic support | Not supported | 1.0 (1.9.1) | Not supported | Not supported | Not supported |
See also
- The
ProgressEventinterface it belongs to.