OLD | NEW |
1 | 1 |
2 class Clipboard native "*Clipboard" { | 2 class Clipboard native "*Clipboard" { |
3 | 3 |
4 String dropEffect; | 4 String get dropEffect() native "return this.dropEffect;"; |
5 | 5 |
6 String effectAllowed; | 6 void set dropEffect(String value) native "this.dropEffect = value;"; |
7 | 7 |
8 FileList files; | 8 String get effectAllowed() native "return this.effectAllowed;"; |
9 | 9 |
10 DataTransferItemList items; | 10 void set effectAllowed(String value) native "this.effectAllowed = value;"; |
11 | 11 |
12 List types; | 12 FileList get files() native "return this.files;"; |
| 13 |
| 14 DataTransferItemList get items() native "return this.items;"; |
| 15 |
| 16 List get types() native "return this.types;"; |
13 | 17 |
14 void clearData([String type = null]) native; | 18 void clearData([String type = null]) native; |
15 | 19 |
16 void getData(String type) native; | 20 void getData(String type) native; |
17 | 21 |
18 bool setData(String type, String data) native; | 22 bool setData(String type, String data) native; |
19 | 23 |
20 void setDragImage(HTMLImageElement image, int x, int y) native; | 24 void setDragImage(HTMLImageElement image, int x, int y) native; |
21 | 25 |
22 var dartObjectLocalStorage; | 26 var dartObjectLocalStorage; |
23 | 27 |
24 String get typeName() native; | 28 String get typeName() native; |
25 } | 29 } |
OLD | NEW |