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

@snianu commented on this pull request.



>    };
   </pre>
 
-  <div id="clipboard-idl" dfn-for="Clipboard">
+  A <dfn>Clipboard</dfn>'s <code>read()</code> and <code>write()</code> methods must support <dfn>Clipboard Items</dfn> that has one or more [=/clipboard item=]s.
+
+  <p class="note">
+  Writing multiple [=/clipboard item=]s to the clipboard is only supported on Apple platforms such as iOS/iPadOS. For other platforms, only the first [=/clipboard item=] should be written to the clipboard.
+  </p>
+
+  A web author needs to create a |data| which is a [=Clipboard items=] object in order to write content to [=system clipboard=] using the {{Clipboard/write(data)}} method.

Ack.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/pull/158#discussion_r779213063
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/clipboard-apis/pull/158/review/845168353@github.com>

Received on Wednesday, 5 January 2022 23:54:43 UTC