mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 17:31:58 -05:00
7e3ead83b0
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. (cherry picked from commit 0b0d44da275067458e61a5dd80c4563f6aa7fdc6)
13 lines
389 B
Text
13 lines
389 B
Text
#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;
|
|
};
|