Extends EventTarget.
This interface provides methods to read File objects or Blob objects into memory, and to access the data from those Files or Blobs using progress events and event handler attributes; it inherits from EventTarget [DOM4]. It is desirable to read data from file systems asynchronously in the main thread of user agents.
Properties | |
---|---|
const unsigned short |
|
const unsigned short |
|
const unsigned short |
|
DOMError? |
|
EventHandler | onabort |
EventHandler | onerror |
EventHandler | onload |
EventHandler | onloadend |
EventHandler | onloadstart |
EventHandler | onprogress |
unsigned short |
|
(DOMString or ArrayBuffer) |
|
Constructor |
---|
FileReader() |
Operations | |
---|---|
void | abort() |
void |
|
void |
|
void |
|