mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 17:31:58 -05:00
a6d010c247
(cherry picked from commit ceb9e30d422425582ac1db857ff4c786fb7e212c)
13 lines
464 B
Text
13 lines
464 B
Text
#import <FileAPI/File.idl>
|
|
#import <HTML/DataTransferItem.idl>
|
|
|
|
// https://html.spec.whatwg.org/multipage/dnd.html#datatransferitemlist
|
|
[Exposed=Window]
|
|
interface DataTransferItemList {
|
|
readonly attribute unsigned long length;
|
|
getter DataTransferItem (unsigned long index);
|
|
DataTransferItem? add(DOMString data, DOMString type);
|
|
DataTransferItem? add(File data);
|
|
[FIXME] undefined remove(unsigned long index);
|
|
[FIXME] undefined clear();
|
|
};
|