OLD | NEW |
1 | 1 |
2 class _ClipboardJs extends _DOMTypeJs implements Clipboard native "*Clipboard" { | 2 class _ClipboardJs extends _DOMTypeJs implements Clipboard native "*Clipboard" { |
3 | 3 |
4 String get dropEffect() native "return this.dropEffect;"; | 4 String dropEffect; |
5 | 5 |
6 void set dropEffect(String value) native "this.dropEffect = value;"; | 6 String effectAllowed; |
7 | 7 |
8 String get effectAllowed() native "return this.effectAllowed;"; | 8 final _FileListJs files; |
9 | 9 |
10 void set effectAllowed(String value) native "this.effectAllowed = value;"; | 10 final _DataTransferItemListJs items; |
11 | 11 |
12 _FileListJs get files() native "return this.files;"; | 12 final List types; |
13 | |
14 _DataTransferItemListJs get items() native "return this.items;"; | |
15 | |
16 List get types() native "return this.types;"; | |
17 | 13 |
18 void clearData([String type = null]) native; | 14 void clearData([String type = null]) native; |
19 | 15 |
20 void getData(String type) native; | 16 void getData(String type) native; |
21 | 17 |
22 bool setData(String type, String data) native; | 18 bool setData(String type, String data) native; |
23 | 19 |
24 void setDragImage(_HTMLImageElementJs image, int x, int y) native; | 20 void setDragImage(_HTMLImageElementJs image, int x, int y) native; |
25 } | 21 } |
OLD | NEW |