- From: snianu <notifications@github.com>
- Date: Mon, 01 Nov 2021 16:01:06 -0700
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 1 November 2021 23:01:23 UTC
@snianu commented on this pull request.
> + <h4 typedef>ClipboardItemDataType</h4>
+ <p>
+ It is a {{DOMString}} or [=Blob=] type. This contains the payload corresponding to the MIME type while creating a [=ClipboardItem=] object.
+ </p>
+ <h4 typedef>ClipboardItemData</h4>
+ <p>
+ It is a [=Promise=] to the {{ClipboardItemDataType}}.
+ </p>
+
+ <h3 id="clipboard-interface">Clipboard Interface</h3>
+
+ <pre class="idl" data-highlight="webidl">
+ typedef sequence<ClipboardItem> ClipboardItems;
+
+ [SecureContext, Exposed=Window] interface Clipboard : EventTarget {
+ Promise<ClipboardItems> read();
Done.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/pull/158#discussion_r740585759
Received on Monday, 1 November 2021 23:01:23 UTC