Index: client/html/generated/html/dartium/DataTransferItemList.dart |
diff --git a/client/html/generated/html/dartium/DataTransferItemList.dart b/client/html/generated/html/dartium/DataTransferItemList.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..60afa46bab4269ec0f6e3f1643c228b28fdff72d |
--- /dev/null |
+++ b/client/html/generated/html/dartium/DataTransferItemList.dart |
@@ -0,0 +1,30 @@ |
+ |
+class _DataTransferItemListImpl extends _DOMTypeBase implements DataTransferItemList { |
+ _DataTransferItemListImpl._wrap(ptr) : super._wrap(ptr); |
+ |
+ int get length() => _wrap(_ptr.length); |
+ |
+ void add(var data_OR_file, [String type = null]) { |
+ if (data_OR_file is File) { |
+ if (type === null) { |
+ _ptr.add(_unwrap(data_OR_file)); |
+ return; |
+ } |
+ } else { |
+ if (data_OR_file is String) { |
+ _ptr.add(_unwrap(data_OR_file), _unwrap(type)); |
+ return; |
+ } |
+ } |
+ throw "Incorrect number or type of arguments"; |
+ } |
+ |
+ void clear() { |
+ _ptr.clear(); |
+ return; |
+ } |
+ |
+ DataTransferItem item(int index) { |
+ return _wrap(_ptr.item(_unwrap(index))); |
+ } |
+} |