MDN self-hosted library · e01.org

ProgressEvent: lengthComputable property

XMLHttpRequest API

no runnable cells web-api-instance-property upstream source

XMLHttpRequest API

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.

Value

A boolean.

Specifications

Browser compatibility

See also

  • The ProgressEvent interface it belongs to.