Files
ladybird/Libraries/LibWeb/HTML/DataTransferItem.idl
Shannon Booth cc6e048bd6 LibWeb+LibIDL: Remove support for #import directives during parsing
These no longer serve any purpose now that we run the IDLGenerator
on all of these files at once.
2026-04-24 20:08:29 +02:00

14 lines
466 B
Plaintext

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();
};