ProgressEvent.total
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
JavaScript
Copy Code
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
ProgressEvent
interface it belongs to.
License
© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/progressevent/total