Events

This section describes the events specific to the objects associated with the File API.

In this section

TopicDescription

onabort

ProgressEvent that occurs when a read or creation operation is aborted by calling the abort method.

onerror

ProgressEvent that fires when an error occurs during a read operation by an MSStreamReader or FileReader object.

onload

ProgressEvent that occurs when a read operation by an MSStreamReader or FileReader object successfully completes.

onloadend

ProgressEvent that occurs when a read operation by an MSStreamReader or FileReader object completes, even if the request fails.

onloadstart

ProgressEvent that occurs when a read operation is started by an MSStreamReader or FileReader object.

onprogress

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

 

 

 

Show:
© 2014 Microsoft