mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 03:57:15 +02:00
We don't actually generate any such events ourselves. But Google Lens will create one with the DataTransfer attribute set to that of any drop event we send it.
14 lines
389 B
Plaintext
14 lines
389 B
Plaintext
#import <DOM/Event.idl>
|
|
#import <HTML/DataTransfer.idl>
|
|
|
|
dictionary ClipboardEventInit : EventInit {
|
|
DataTransfer? clipboardData = null;
|
|
};
|
|
|
|
// https://w3c.github.io/clipboard-apis/#clipboardevent
|
|
[Exposed=Window]
|
|
interface ClipboardEvent : Event {
|
|
constructor(DOMString type, optional ClipboardEventInit eventInitDict = {});
|
|
readonly attribute DataTransfer? clipboardData;
|
|
};
|