Re: [w3c/clipboard-apis] Add supports API for async clipboard. (PR #192)

@saschanaz commented on this pull request.



> @@ -742,6 +747,15 @@ urlPrefix: https://w3c.github.io/FileAPI/#dfn-; type: dfn;
 
    1. Return |p|.
 
+  <h4 method for=ClipboardItem lt=supports(type)>supports(type)</h4>
+
+   This method must run the below steps:
+
+   1. If |type| is in [=mandatory data types=], then return true.
+
+   1. If |type| is not in [=mandatory data types=], then return false.

Maybe this can be just "If not"?

BTW, does this mean the API supports only "mandatory data types" and not anything else? 

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

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

Received on Friday, 15 September 2023 05:27:09 UTC