Re: [w3c/clipboard-apis] Add clipboard IDL description. (#158)

@mbrodesser 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&lt;ClipboardItem> ClipboardItems;
+
+  [SecureContext, Exposed=Window] interface Clipboard : EventTarget {

Thanks. Makes sense.

-- 
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_r731714933

Received on Tuesday, 19 October 2021 10:20:06 UTC