mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 09:46:04 -05:00
12 lines
408 B
Text
12 lines
408 B
Text
#import <DOM/EventTarget.idl>
|
|
|
|
// FIXME: typedef sequence<ClipboardItem> ClipboardItems;
|
|
|
|
// https://w3c.github.io/clipboard-apis/#clipboard
|
|
[SecureContext, Exposed=Window]
|
|
interface Clipboard : EventTarget {
|
|
[FIXME] Promise<ClipboardItems> read();
|
|
[FIXME] Promise<DOMString> readText();
|
|
[FIXME] Promise<undefined> write(ClipboardItems data);
|
|
Promise<undefined> writeText(DOMString data);
|
|
};
|