FileReader : EventTarget
Instance Properties
readyState : Number
result : Object
The result from the previous read. The result will be either a String
or an ArrayBuffer
. The result is only available after the load
event fires.
Example:
RunResults:
Instance Methods
Begins reading from blob
as an ArrayBuffer
. The result will be stored on this.result
after the 'load'
event fires. See also Blob.arrayBuffer().
Example:
RunResults:
Begins reading from blob
as a 'data:'
url string. The result will be stored on this.result
after the 'load'
event fires.
Example:
RunResults:
Begins reading from blob
as a string. The result will be stored on this.result
after the 'load'
event fires. For the valid values of encoding
, see character sets. See also Blob.text().
Example:
RunResults:
Instance Events
FileReader Properties
LOADING : Number
The value returned by readyState
after one of the read methods has been called but before the load
event has fired.
Copyright © JavaScripture Contributors