This page is Almost Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

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