blob: ea969ca9d572eb560540382015e79cd2ceb779b8 [file] [log] [blame]
[SecureContext]
interface Clipboard : EventTarget {
Promise<DataTransfer> read();
Promise<DOMString> readText();
Promise<void> write(DataTransfer data);
Promise<void> writeText(DOMString data);
};
[SecureContext]
partial interface Navigator {
[SameObject] readonly attribute Clipboard clipboard;
};