JavaScript FileReader : EventTarget
Instance Properties
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
The value returned by readyState
after one of the read methods has been
called but before the load
event has fired.