mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 02:29:21 +00:00
LibWeb: Add an empty DataTransferItem IDL implementation
This commit is contained in:
parent
b6c99c27af
commit
9e3c6921ab
Notes:
github-actions[bot]
2024-08-19 11:31:06 +00:00
Author: https://github.com/trflynn89
Commit: 9e3c6921ab
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1111
7 changed files with 79 additions and 0 deletions
12
Userland/Libraries/LibWeb/HTML/DataTransferItem.idl
Normal file
12
Userland/Libraries/LibWeb/HTML/DataTransferItem.idl
Normal file
|
@ -0,0 +1,12 @@
|
|||
#import <FileAPI/File.idl>
|
||||
|
||||
callback FunctionStringCallback = undefined (DOMString data);
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/dnd.html#datatransferitem
|
||||
[Exposed=Window]
|
||||
interface DataTransferItem {
|
||||
[FIXME] readonly attribute DOMString kind;
|
||||
[FIXME] readonly attribute DOMString type;
|
||||
[FIXME] undefined getAsString(FunctionStringCallback? _callback);
|
||||
[FIXME] File? getAsFile();
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue