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.

loaded

Summary

Specifies the number of bytes downloaded since the beginning of the operation.

Property of dom/ProgressEventdom/ProgressEvent

Syntax

Note: This property is read-only.

var result = ProgressEvent.loaded;

Return Value

Returns an object of type unsigned longunsigned long

Number of bytes downloaded since the beginning of the operation.

Usage

 Used to calculate the percentage completed of an operation.

Notes

Remarks

This property refers to the content associated with the operation; it does not account for headers or other overhead associated with the operation. If the operation specifies content encoding or transfer encoding, the value of this property reflects the specified encoding.

Syntax

value = ProgressEvent.loaded

Attributions