FileReader
The FileReader interface lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File or Blob objects to specify the file or data to read.
Properties
The error read-only property of the FileReader interface returns the error that occurred while reading the file.
The readyState read-only property of the FileReader interface provides the current state of the reading operation.
Functions
The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
The dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.
The readAsArrayBuffer() method of the FileReader interface is used to start reading the contents of a specified Blob or File.
The readAsDataURL() method of the FileReader interface is used to read the contents of the specified Blob or File.
The readAsText() method of the FileReader interface is used to read the contents of the specified Blob or File.
The removeEventListener() method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.