mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
28 lines
923 B
Text
28 lines
923 B
Text
// GENERATED CONTENT - DO NOT EDIT
|
|
// Content was automatically extracted by Reffy into reffy-reports
|
|
// (https://github.com/tidoust/reffy-reports)
|
|
// Source: Clipboard API and events (https://w3c.github.io/clipboard-apis/)
|
|
|
|
dictionary ClipboardEventInit : EventInit {
|
|
DataTransfer? clipboardData = null;
|
|
};
|
|
|
|
[Constructor(DOMString type, optional ClipboardEventInit eventInitDict), Exposed=Window]
|
|
interface ClipboardEvent : Event {
|
|
readonly attribute DataTransfer? clipboardData;
|
|
};
|
|
|
|
partial interface Navigator {
|
|
[SecureContext, SameObject] readonly attribute Clipboard clipboard;
|
|
};
|
|
|
|
[SecureContext, Exposed=Window] interface Clipboard : EventTarget {
|
|
Promise<DataTransfer> read();
|
|
Promise<DOMString> readText();
|
|
Promise<void> write(DataTransfer data);
|
|
Promise<void> writeText(DOMString data);
|
|
};
|
|
|
|
dictionary ClipboardPermissionDescriptor : PermissionDescriptor {
|
|
boolean allowWithoutGesture = false;
|
|
};
|