- From: snianu <notifications@github.com>
- Date: Tue, 12 Oct 2021 17:08:53 -0700
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 13 October 2021 00:09:05 UTC
@snianu commented on this pull request.
> @@ -621,8 +622,84 @@ urlPrefix: https://w3c.github.io/FileAPI/#dfn-; type: dfn;
};
</pre>
- <div id="clipboard-idl" dfn-for="Clipboard">
+ <div class="algorithm" data-algorithm="clipboard-item">
+ <h4 id="h-clipboard-item"><dfn>ClipboardItem</dfn></h4>
+ The [=ClipboardItem=] object represents the content of the MIME types that are in the [=mandatory data types=] list, and are currently on the [=system clipboard=].
+ It has a mapping of the MIME types in {{DOMString}} format and a [=Blob=] corresponding to the MIME types that contains the actual payload. A web author needs to
+ create a [=ClipboardItem=] object in order to write content to the clipboard using the {{Clipboard/write()}} method. {{Clipboard/read()}} returns a [=ClipboardItem=] object
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_r727602518
Received on Wednesday, 13 October 2021 00:09:05 UTC