ladybird/Userland/Libraries/LibWeb/HTML/DataTransfer.idl

20 lines
697 B
Text
Raw Normal View History

// https://html.spec.whatwg.org/multipage/dnd.html#datatransfer
[Exposed=Window]
interface DataTransfer {
constructor();
attribute DOMString dropEffect;
attribute DOMString effectAllowed;
[FIXME, SameObject] readonly attribute DataTransferItemList items;
[FIXME] undefined setDragImage(Element image, long x, long y);
// old interface
readonly attribute sequence<DOMString> types; // FIXME: This should be FrozenArray<DOMString>
[FIXME] DOMString getData(DOMString format);
[FIXME] undefined setData(DOMString format, DOMString data);
[FIXME] undefined clearData(optional DOMString format);
[FIXME, SameObject] readonly attribute FileList files;
};