The ProgressEvent.lengthComputable read-only property is a Boolean flag indicating if the resource concerned by the ProgressEvent has a length that can be calculated. If not, the ProgressEvent.total property has no significant value.
Syntax
flag = ProgressEvent.lengthComputable
Specifications
| Specification | Status | Comment |
|---|---|---|
| XMLHttpRequest The definition of 'ProgressEvent.lengthComputable' in that specification. |
Living Standard |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
lengthComputable | Chrome Full support 50 | Edge Full support 12 | Firefox Full support 3.5 | IE Full support Yes | Opera Full support 37 | Safari Full support 3.1 | WebView Android Full support 50 | Chrome Android Full support 50 | Firefox Android Full support 4 | Opera Android Full support 37 | Safari iOS Full support 2 | Samsung Internet Android Full support 5.0 |
Legend
- Full support
- Full support
See also
- The
ProgressEventinterface it belongs to.
