OLD | NEW |
(Empty) | |
| 1 |
| 2 class _FileReaderImpl implements FileReader native "*FileReader" { |
| 3 |
| 4 static final int DONE = 2; |
| 5 |
| 6 static final int EMPTY = 0; |
| 7 |
| 8 static final int LOADING = 1; |
| 9 |
| 10 final _FileErrorImpl error; |
| 11 |
| 12 EventListener onabort; |
| 13 |
| 14 EventListener onerror; |
| 15 |
| 16 EventListener onload; |
| 17 |
| 18 EventListener onloadend; |
| 19 |
| 20 EventListener onloadstart; |
| 21 |
| 22 EventListener onprogress; |
| 23 |
| 24 final int readyState; |
| 25 |
| 26 final Object result; |
| 27 |
| 28 void abort() native; |
| 29 |
| 30 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
| 31 |
| 32 bool dispatchEvent(_EventImpl evt) native; |
| 33 |
| 34 void readAsArrayBuffer(_BlobImpl blob) native; |
| 35 |
| 36 void readAsBinaryString(_BlobImpl blob) native; |
| 37 |
| 38 void readAsDataURL(_BlobImpl blob) native; |
| 39 |
| 40 void readAsText(_BlobImpl blob, [String encoding = null]) native; |
| 41 |
| 42 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 43 } |
OLD | NEW |