mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
16 lines
535 B
Text
16 lines
535 B
Text
#import <EntriesAPI/FileSystemEntry.idl>
|
|
#import <FileAPI/File.idl>
|
|
|
|
callback FunctionStringCallback = undefined (DOMString data);
|
|
|
|
// https://html.spec.whatwg.org/multipage/dnd.html#datatransferitem
|
|
[Exposed=Window]
|
|
interface DataTransferItem {
|
|
readonly attribute DOMString kind;
|
|
readonly attribute DOMString type;
|
|
undefined getAsString(FunctionStringCallback? _callback);
|
|
File? getAsFile();
|
|
|
|
// https://wicg.github.io/entries-api/#dom-datatransferitem-webkitgetasentry
|
|
FileSystemEntry? webkitGetAsEntry();
|
|
};
|