OLD | NEW |
1 | 1 |
2 class _FileReaderJs extends _DOMTypeJs implements FileReader native "*FileReader
" { | 2 class _FileReaderJs extends _DOMTypeJs implements FileReader native "*FileReader
" { |
3 FileReader() native; | |
4 | |
5 | 3 |
6 static final int DONE = 2; | 4 static final int DONE = 2; |
7 | 5 |
8 static final int EMPTY = 0; | 6 static final int EMPTY = 0; |
9 | 7 |
10 static final int LOADING = 1; | 8 static final int LOADING = 1; |
11 | 9 |
12 final _FileErrorJs error; | 10 final _FileErrorJs error; |
13 | 11 |
14 EventListener onabort; | 12 EventListener onabort; |
(...skipping 21 matching lines...) Expand all Loading... |
36 void readAsArrayBuffer(_BlobJs blob) native; | 34 void readAsArrayBuffer(_BlobJs blob) native; |
37 | 35 |
38 void readAsBinaryString(_BlobJs blob) native; | 36 void readAsBinaryString(_BlobJs blob) native; |
39 | 37 |
40 void readAsDataURL(_BlobJs blob) native; | 38 void readAsDataURL(_BlobJs blob) native; |
41 | 39 |
42 void readAsText(_BlobJs blob, [String encoding = null]) native; | 40 void readAsText(_BlobJs blob, [String encoding = null]) native; |
43 | 41 |
44 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 42 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
45 } | 43 } |
OLD | NEW |