Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
onprogress
Collapse the table of content
Expand the table of content

onprogress event

ProgressEvent that occurs when an MSStreamReader or FileReader object reports progress about a read operation.

Internet Explorer 10

 

Syntax

Event Property object.onprogress = handler;
addEventListener Method object.addEventListener("progress", handler, useCapture)

 

Event handler parameters

handler [in]

Type: function

Function to process the progress event.

Remarks

This event reports the number of bytes loaded by a MSStreamReader or FileReader object read operation so far.

The length property of the ProgressEvent contains the number of bytes read and the total property of the ProgressEvent contains the total number of bytes that will be read. The total property is initialized to 0 (zero) and remains at 0 (zero) until the number of bytes to be read is known.

The lengthComputable property of the ProgressEvent indicates that the total number of bytes to be read is known and the total property of the ProgressEvent is valid.

See also

FileReader
MSStreamReader
ProgressEvent

 

 

Show:
© 2015 Microsoft