ProgressEvent.lengthComputable
 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
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 | |
lengthComputable | 
50  | 
12  | 
3.5  | 
10  | 
37  | 
3.1  | 
50  | 
50  | 
4  | 
37  | 
2  | 
5.0  | 
See also
- The 
ProgressEventinterface it belongs to. 
    © 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
    https://developer.mozilla.org/en-US/docs/Web/API/ProgressEvent/lengthComputable