lengthComputable
Summary
Specifies whether the total size of the operation is known.
Property of dom/ProgressEventdom/ProgressEvent
Syntax
Note: This property is read-only.
var result = ProgressEvent.lengthComputable;
Return Value
Returns an object of type BooleanBoolean
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
Attributions
Mozilla Developer Network : [ProgressEvent.lengthComputable Article]
Microsoft Developer Network: [lengthComputable Property Article]