- From: snianu <notifications@github.com>
- Date: Thu, 07 Oct 2021 18:12:04 -0700
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/clipboard-apis/pull/158/review/774515870@github.com>
@snianu commented on this pull request.
> + <p>
+ A [=Promise=] to the [=ClipboardItemDataType=].
+ </p>
+
+ {{ClipboardItem}}
+ <p> A {{ClipboardItem}} object contains the {{ClipboardItem/types}} listed in the [=mandatory data types=] list that are present on the [=system clipboard=].
+ <p> The {{ClipboardItem/constructor()}} step for <code>new ClipboardItem(<var>items</var>, <var>options</var>)</code>
+ is to set [=this=]'s items to <var>items</var> and options to <var>options</var>
+ </p>
+
+ Issue: Add definition to clarify what {{ClipboardItem/createDelayed()}} method does. From the discussions it looks like a Windows/Mac only feature where the
+ platform supports writing of the data to the system clipboard in a delayed fashion so the system clipboard can request data on-demand.
+ See https://docs.microsoft.com/en-us/windows/win32/dataxchg/clipboard-operations#delayed-rendering
+
+ <dfn>presentationStyle</dfn>
+ <p>It is an <a href=https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#enumerated-attribute>enumerated attribute</a> whose keywords are the <code>string</code>, <code>unspecified</code>, <code>inline</code> and <code>attachment</code>.</p>
TBH I don't understand it either. Chromium doesn't implement this member, but Safari has logic to parse this member. I have opened an issue https://github.com/w3c/clipboard-apis/issues/159
--
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_r724633198
Received on Friday, 8 October 2021 01:12:17 UTC