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 dropEffect; | 4 String dropEffect; |
5 | 5 |
6 String effectAllowed; | 6 String effectAllowed; |
7 | 7 |
8 final _FileListJs files; | 8 final _FileListJs files; |
9 | 9 |
10 final _DataTransferItemListJs items; | 10 final _DataTransferItemListJs items; |
11 | 11 |
12 final List<String> types; | 12 final List types; |
13 | 13 |
14 void clearData([String type = null]) native; | 14 void clearData([String type = null]) native; |
15 | 15 |
16 void getData(String type) native; | 16 String getData(String type) native; |
17 | 17 |
18 bool setData(String type, String data) native; | 18 bool setData(String type, String data) native; |
19 | 19 |
20 void setDragImage(_HTMLImageElementJs image, int x, int y) native; | 20 void setDragImage(_HTMLImageElementJs image, int x, int y) native; |
21 } | 21 } |
OLD | NEW |