OLD | NEW |
| (Empty) |
1 | |
2 class _FileReaderJs extends _DOMTypeJs 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 _FileErrorJs 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(_EventJs evt) native; | |
33 | |
34 void readAsArrayBuffer(_BlobJs blob) native; | |
35 | |
36 void readAsBinaryString(_BlobJs blob) native; | |
37 | |
38 void readAsDataURL(_BlobJs blob) native; | |
39 | |
40 void readAsText(_BlobJs blob, [String encoding = null]) native; | |
41 | |
42 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | |
43 } | |
OLD | NEW |