- From: snianu <notifications@github.com>
- Date: Mon, 01 Nov 2021 15:46:12 -0700
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 1 November 2021 22:46:32 UTC
@snianu commented on this pull request. > + + 1. If |type| is not listed in the [=mandatory data types=] list, then reject |p| with a "The type was not found" DOMException. + + 1. Let |data| be the result of reading the |type| from the [=system clipboard=]. + + 1. Let |blobData| be the |data| represented as a [=Blob=]. + + 1. Resolve |p| with |blobData|. + + <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}}. 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_r740577530
Received on Monday, 1 November 2021 22:46:32 UTC