mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-06 03:02:55 +00:00
12 lines
371 B
Text
12 lines
371 B
Text
#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();
|
|
};
|