mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb: Add an empty DataTransferItem IDL implementation
This commit is contained in:
committed by
Andreas Kling
parent
b6c99c27af
commit
9e3c6921ab
Notes:
github-actions[bot]
2024-08-19 11:31:06 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/9e3c6921ab5 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1111
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();
|
||||
};
|
||||
Reference in New Issue
Block a user