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
Mozilla Developer Network : [ProgressEvent.loaded Article]
Microsoft Developer Network: [loaded Property Article]