From a54cff02f5624b13bdf836a02215fda8a5f98018 Mon Sep 17 00:00:00 2001 From: Rumyra Date: Wed, 3 Mar 2021 13:52:12 +0000 Subject: [PATCH 01/10] clipboarditem updates --- .../clipboarditem/clipboarditem/index.html | 37 ++++----- .../web/api/clipboarditem/gettype/index.html | 9 +-- files/en-us/web/api/clipboarditem/index.html | 28 ++++++- .../presentationStyle/index.html | 81 +++++++++++++++++++ .../web/api/clipboarditem/types/index.html | 4 +- 5 files changed, 127 insertions(+), 32 deletions(-) create mode 100644 files/en-us/web/api/clipboarditem/presentationStyle/index.html diff --git a/files/en-us/web/api/clipboarditem/clipboarditem/index.html b/files/en-us/web/api/clipboarditem/clipboarditem/index.html index 7e343cca26b16e7..66a218cde8ed82d 100644 --- a/files/en-us/web/api/clipboarditem/clipboarditem/index.html +++ b/files/en-us/web/api/clipboarditem/clipboarditem/index.html @@ -14,43 +14,38 @@ ---
{{DefaultAPISidebar("Clipboard API")}}
-

The - ClipboardItem() constructor of the {{domxref("Clipboard - API")}} creates a new {{domxref("ClipboardItem")}} object which represents data to be - stored or retrieved via the {{domxref("Clipboard API")}}, that is - {{domxref("clipboard.write()")}} and {{domxref("clipboard.read()")}} - respectively.

+

The ClipboardItem() constructor of the {{domxref("Clipboard API")}} creates a new {{domxref("ClipboardItem")}} object which represents data to be stored or retrieved via the {{domxref("Clipboard API")}}, that is {{domxref("clipboard.write()")}} and {{domxref("clipboard.read()")}} respectively.

-

Note: Image format support varies by browser. See the browser - compatibility table for the {{domxref("Clipboard")}} interface.

+

Note: Image format support varies by browser. See the browser compatibility table for the {{domxref("Clipboard")}} interface.

Syntax

-
var ClipboardItem = new ClipboardItem(ClipboardItemData);
+
var ClipboardItem = new ClipboardItem(ClipboardItemData);

Parameters

ClipboardItemData
-
An {{jsxref("Object")}} with the {{Glossary("MIME type")}} as the key and - {{domxref("Blob")}} as the value.
+
An {{jsxref("Object")}} with the {{Glossary("MIME type")}} as the key and data as the value. The data can represented as a {{domxref("Blob")}}, a {{jsxref("String")}} or a {{jsxref("Promise")}} which resolves to either a blob or string.
+ +
ClipboardItemOptions {{optional_inline}}
+
An {{jsxref("Object")}} with the following properties: +
    +
  • presentationStyle: One of "unspecified", "inline" or "attachment". The default is "unspecified".
  • +
+
-

Note: To work with text see the {{domxref("Clipboard.readText()")}} - and {{domxref("Clipboard.writeText()")}} methods of the {{domxref("Clipboard")}} +

Note: You can also work with text via the {{domxref("Clipboard.readText()")}} and {{domxref("Clipboard.writeText()")}} methods of the {{domxref("Clipboard")}} interface.

Examples

-

The below example requests a png image using the {{domxref("Fetch API")}}, and in turn, - the {{domxref("Body.blob()", "responses' blob()")}} method, to create a new - {{domxref("ClipboardItem")}} and write it to the clipboard, using the - {{domxref("Clipboard API")}}.

+

The below example requests a png image using the {{domxref("Fetch API")}}, and in turn, the {{domxref("Body.blob()", "responses' blob()")}} method, to create a new {{domxref("ClipboardItem")}} and write it to the clipboard, using the {{domxref("Clipboard API")}}.

Note: You can only pass in one clipboard item at a time.

@@ -99,8 +94,6 @@

See also

diff --git a/files/en-us/web/api/clipboarditem/gettype/index.html b/files/en-us/web/api/clipboarditem/gettype/index.html index 537b18669cb1cad..c1640f2269fd14c 100644 --- a/files/en-us/web/api/clipboarditem/gettype/index.html +++ b/files/en-us/web/api/clipboarditem/gettype/index.html @@ -11,12 +11,9 @@ - getTypes - paste --- -
{{draft}}{{DefaultAPISidebar("Clipboard API")}}
+
{{DefaultAPISidebar("Clipboard API")}}
-

The getType() - method of the {{domxref("ClipboardItem")}} interface returns a {{jsxref("Promise")}} - that resolves with a {{domxref("Blob")}} of the requested  {{Glossary("MIME type")}} - or an error if the MIME type is not found.

+

The getType() method of the {{domxref("ClipboardItem")}} interface returns a {{jsxref("Promise")}} that resolves with a {{domxref("Blob")}} of the requested  {{Glossary("MIME type")}} or an error if the MIME type is not found.

Syntax

@@ -80,7 +77,7 @@

Specifications

Comment - {{SpecName('Clipboard API','#clipboarditem','ClipboardItem')}} + {{SpecName('Clipboard API','#dom-clipboarditem-gettype-type-type','ClipboardItem.getType()')}} {{Spec2('Clipboard API')}} Initial definition. diff --git a/files/en-us/web/api/clipboarditem/index.html b/files/en-us/web/api/clipboarditem/index.html index 015948f182948ff..ff7f2a46a778142 100644 --- a/files/en-us/web/api/clipboarditem/index.html +++ b/files/en-us/web/api/clipboarditem/index.html @@ -12,7 +12,7 @@ - copy - paste --- -
{{draft}}{{DefaultAPISidebar("Clipboard API")}}
+
{{DefaultAPISidebar("Clipboard API")}}

The ClipboardItem interface of the {{domxref('Clipboard API')}} represents a single item format, used when reading or writing data via the {{domxref('Clipboard API')}}. That is {{domxref("clipboard.read()")}} and {{domxref("clipboard.write()")}} respectively.

@@ -42,8 +42,21 @@

Properties

{{domxref("ClipboardItem.types", "types")}} {{ReadOnlyInline}}
Returns an {{jsxref("Array")}} of MIME types available within the ClipboardItem.
+ +
{{domxref("ClipboardItem.presentationStyle", "presentationStyle")}} {{ReadOnlyInline}}
+
Returns one of the following: "unspecified", "inline" or "attachment".
+ +
{{domxref("ClipboardItem.delayed", "delayed")}} {{ReadOnlyInline}}
+
Returns a boolean which if true indicates the ClipboardItem was created using the static createDelayed() method.
+ +
{{domxref("ClipboardItem.lastModified", "lastModified")}} {{ReadOnlyInline}}
+
Returns an integer representing the time at which the ClipboardItem was last modified.
+
+

Note: Neither ClipboardItem.delayed or ClipboardItem.lastModified have been implemented by any browsers at this time. Check the compatibility table for details.

+
+

Methods

This interface defines the following methods.

@@ -53,6 +66,17 @@

Methods

Returns a {{jsxref("Promise")}} that resolves with a {{domxref("Blob")}} of the requested {{Glossary("MIME type")}}, or an error if the MIME type is not found.
+

Static Methods

+ +
+
{{domxref("ClipboardItem.createDelayed()")}}
+
Creates a new ClipboardItem object, with the {{Glossary("MIME type")}} as the key and {{domxref("Blob")}} as the value.
+
+ +
+

Note: ClipboardItem.createDelayed() has not been implemented by any browsers at this time. Check the compatibility table for details.

+
+

Examples

Writing To Clipboard

@@ -117,7 +141,7 @@

Specifications

-

Browser compatibility

+

Browser compatibility

{{Compat("api.ClipboardItem")}}

diff --git a/files/en-us/web/api/clipboarditem/presentationStyle/index.html b/files/en-us/web/api/clipboarditem/presentationStyle/index.html new file mode 100644 index 000000000000000..743e5eb4a2e5958 --- /dev/null +++ b/files/en-us/web/api/clipboarditem/presentationStyle/index.html @@ -0,0 +1,81 @@ +--- +title: ClipboardItem.presentationStyle +slug: Web/API/ClipboardItem/presentationStyle +tags: +- API +- Clipboard +- Clipboard API +- ClipboardItem +- Cut +- Property +- Read-only +- Reference +- presentationStyle +- copy +- paste +--- +
{{DefaultAPISidebar("Clipboard API")}}
+ +

The read-only + presentationStyle property of the {{domxref("ClipboardItem")}} + interface returns a {{jsxref("String")}} indicating how an item should be presented.

+ +

Syntax

+ +
var presentationStyle = clipboardItem.presentationStyle;
+ +

Value

+ +

One of either "unspecified", "inline" or "attachment".

+ +

Examples

+ +

In the below example, we're returning all items on the clipboard via the {{domxref("clipboard.read()")}} method. Then logging the presentationStyle property.

+ +
async function getClipboardContents() {
+  try {
+    const clipboardItems = await navigator.clipboard.read();
+
+    for (const clipboardItem of clipboardItems) {
+
+      console.log(clipboardItem.presentationStyle);
+
+    }
+
+  } catch (err) {
+    console.error(err.name, err.message);
+  }
+}
+
+ +

Specifications

+ + + + + + + + + + + + + + +
SpecificationStatusComment
{{SpecName('Clipboard API','#dom-clipboarditem-presentationstyle','ClipboardItem.presentationStyle')}}{{Spec2('Clipboard API')}}Initial definition.
+ +

Browser compatibility

+ +

{{Compat("api.ClipboardItem.types")}}

+ +

See also

+ + diff --git a/files/en-us/web/api/clipboarditem/types/index.html b/files/en-us/web/api/clipboarditem/types/index.html index 9eebfd35422bccc..ff8ce0b1a5ebacd 100644 --- a/files/en-us/web/api/clipboarditem/types/index.html +++ b/files/en-us/web/api/clipboarditem/types/index.html @@ -14,7 +14,7 @@ - copy - paste --- -
{{draft}}{{DefaultAPISidebar("Clipboard API")}}
+
{{DefaultAPISidebar("Clipboard API")}}

The read-only types property of the {{domxref("ClipboardItem")}} @@ -67,7 +67,7 @@

Specifications

Comment - {{SpecName('Clipboard API','#clipboarditem','ClipboardItem')}} + {{SpecName('Clipboard API','#dom-clipboarditem-types','ClipboardItem.types')}} {{Spec2('Clipboard API')}} Initial definition. From 30ffbbc94c3ba3a3b91d722440ae7385fbd65284 Mon Sep 17 00:00:00 2001 From: Rumyra Date: Wed, 3 Mar 2021 17:52:11 +0000 Subject: [PATCH 02/10] casing --- files/en-us/web/api/clipboarditem/presentationStyle/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/api/clipboarditem/presentationStyle/index.html b/files/en-us/web/api/clipboarditem/presentationStyle/index.html index 743e5eb4a2e5958..0848d73c98bf5eb 100644 --- a/files/en-us/web/api/clipboarditem/presentationStyle/index.html +++ b/files/en-us/web/api/clipboarditem/presentationStyle/index.html @@ -18,7 +18,7 @@

The read-only presentationStyle property of the {{domxref("ClipboardItem")}} - interface returns a {{jsxref("String")}} indicating how an item should be presented.

+ interface returns a {{jsxref("String")}} indicating how an item should be presented.

Syntax

From fc167eb9a10f9ee2d7beca0260a732a95a85c653 Mon Sep 17 00:00:00 2001 From: Rumyra Date: Wed, 3 Mar 2021 17:55:48 +0000 Subject: [PATCH 03/10] dancing --- .../presentationStyle/index.html | 81 ------------------- 1 file changed, 81 deletions(-) delete mode 100644 files/en-us/web/api/clipboarditem/presentationStyle/index.html diff --git a/files/en-us/web/api/clipboarditem/presentationStyle/index.html b/files/en-us/web/api/clipboarditem/presentationStyle/index.html deleted file mode 100644 index 0848d73c98bf5eb..000000000000000 --- a/files/en-us/web/api/clipboarditem/presentationStyle/index.html +++ /dev/null @@ -1,81 +0,0 @@ ---- -title: ClipboardItem.presentationStyle -slug: Web/API/ClipboardItem/presentationStyle -tags: -- API -- Clipboard -- Clipboard API -- ClipboardItem -- Cut -- Property -- Read-only -- Reference -- presentationStyle -- copy -- paste ---- -
{{DefaultAPISidebar("Clipboard API")}}
- -

The read-only - presentationStyle property of the {{domxref("ClipboardItem")}} - interface returns a {{jsxref("String")}} indicating how an item should be presented.

- -

Syntax

- -
var presentationStyle = clipboardItem.presentationStyle;
- -

Value

- -

One of either "unspecified", "inline" or "attachment".

- -

Examples

- -

In the below example, we're returning all items on the clipboard via the {{domxref("clipboard.read()")}} method. Then logging the presentationStyle property.

- -
async function getClipboardContents() {
-  try {
-    const clipboardItems = await navigator.clipboard.read();
-
-    for (const clipboardItem of clipboardItems) {
-
-      console.log(clipboardItem.presentationStyle);
-
-    }
-
-  } catch (err) {
-    console.error(err.name, err.message);
-  }
-}
-
- -

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Clipboard API','#dom-clipboarditem-presentationstyle','ClipboardItem.presentationStyle')}}{{Spec2('Clipboard API')}}Initial definition.
- -

Browser compatibility

- -

{{Compat("api.ClipboardItem.types")}}

- -

See also

- - From aab36a7dd1caf7a710067b37891ed59bb1e6e853 Mon Sep 17 00:00:00 2001 From: Rumyra Date: Wed, 3 Mar 2021 17:56:29 +0000 Subject: [PATCH 04/10] dancing --- .../presentationstyle/index.html | 81 +++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 files/en-us/web/api/clipboarditem/presentationstyle/index.html diff --git a/files/en-us/web/api/clipboarditem/presentationstyle/index.html b/files/en-us/web/api/clipboarditem/presentationstyle/index.html new file mode 100644 index 000000000000000..0848d73c98bf5eb --- /dev/null +++ b/files/en-us/web/api/clipboarditem/presentationstyle/index.html @@ -0,0 +1,81 @@ +--- +title: ClipboardItem.presentationStyle +slug: Web/API/ClipboardItem/presentationStyle +tags: +- API +- Clipboard +- Clipboard API +- ClipboardItem +- Cut +- Property +- Read-only +- Reference +- presentationStyle +- copy +- paste +--- +
{{DefaultAPISidebar("Clipboard API")}}
+ +

The read-only + presentationStyle property of the {{domxref("ClipboardItem")}} + interface returns a {{jsxref("String")}} indicating how an item should be presented.

+ +

Syntax

+ +
var presentationStyle = clipboardItem.presentationStyle;
+ +

Value

+ +

One of either "unspecified", "inline" or "attachment".

+ +

Examples

+ +

In the below example, we're returning all items on the clipboard via the {{domxref("clipboard.read()")}} method. Then logging the presentationStyle property.

+ +
async function getClipboardContents() {
+  try {
+    const clipboardItems = await navigator.clipboard.read();
+
+    for (const clipboardItem of clipboardItems) {
+
+      console.log(clipboardItem.presentationStyle);
+
+    }
+
+  } catch (err) {
+    console.error(err.name, err.message);
+  }
+}
+
+ +

Specifications

+ + + + + + + + + + + + + + +
SpecificationStatusComment
{{SpecName('Clipboard API','#dom-clipboarditem-presentationstyle','ClipboardItem.presentationStyle')}}{{Spec2('Clipboard API')}}Initial definition.
+ +

Browser compatibility

+ +

{{Compat("api.ClipboardItem.types")}}

+ +

See also

+ + From 8fbd77c83baa1966f3e467c4a90be7f3d7e42edc Mon Sep 17 00:00:00 2001 From: Ruth John Date: Thu, 4 Mar 2021 10:13:00 +0000 Subject: [PATCH 05/10] Update files/en-us/web/api/clipboarditem/clipboarditem/index.html Co-authored-by: Joe Medley --- files/en-us/web/api/clipboarditem/clipboarditem/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/api/clipboarditem/clipboarditem/index.html b/files/en-us/web/api/clipboarditem/clipboarditem/index.html index 66a218cde8ed82d..b024b131a954337 100644 --- a/files/en-us/web/api/clipboarditem/clipboarditem/index.html +++ b/files/en-us/web/api/clipboarditem/clipboarditem/index.html @@ -30,7 +30,7 @@

Parameters

ClipboardItemData
An {{jsxref("Object")}} with the {{Glossary("MIME type")}} as the key and data as the value. The data can represented as a {{domxref("Blob")}}, a {{jsxref("String")}} or a {{jsxref("Promise")}} which resolves to either a blob or string.
-
ClipboardItemOptions {{optional_inline}}
+
ClipboardItemOptions {{optional_inline}}
An {{jsxref("Object")}} with the following properties:
  • presentationStyle: One of "unspecified", "inline" or "attachment". The default is "unspecified".
  • From 0cd674be97adf3157b8bf82cd3565a053a2d0cb9 Mon Sep 17 00:00:00 2001 From: Ruth John Date: Thu, 4 Mar 2021 10:17:37 +0000 Subject: [PATCH 06/10] Update files/en-us/web/api/clipboarditem/index.html Co-authored-by: Joe Medley --- files/en-us/web/api/clipboarditem/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/api/clipboarditem/index.html b/files/en-us/web/api/clipboarditem/index.html index ff7f2a46a778142..42d7e18bc803752 100644 --- a/files/en-us/web/api/clipboarditem/index.html +++ b/files/en-us/web/api/clipboarditem/index.html @@ -50,7 +50,7 @@

    Properties

    Returns a boolean which if true indicates the ClipboardItem was created using the static createDelayed() method.
    {{domxref("ClipboardItem.lastModified", "lastModified")}} {{ReadOnlyInline}}
    -
    Returns an integer representing the time at which the ClipboardItem was last modified.
    +
    Returns an {{domxref("DOMTimeStamp")}} representing the time at which the ClipboardItem was last modified.
    From 31e36868265fe6b05ba8956c4e8a80ca52a11659 Mon Sep 17 00:00:00 2001 From: Ruth John Date: Thu, 4 Mar 2021 10:18:04 +0000 Subject: [PATCH 07/10] Update files/en-us/web/api/clipboarditem/index.html Co-authored-by: Joe Medley --- files/en-us/web/api/clipboarditem/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/api/clipboarditem/index.html b/files/en-us/web/api/clipboarditem/index.html index 42d7e18bc803752..15da5c4a7159265 100644 --- a/files/en-us/web/api/clipboarditem/index.html +++ b/files/en-us/web/api/clipboarditem/index.html @@ -54,7 +54,7 @@

    Properties

    -

    Note: Neither ClipboardItem.delayed or ClipboardItem.lastModified have been implemented by any browsers at this time. Check the compatibility table for details.

    +

    Note: Neither ClipboardItem.delayed nor ClipboardItem.lastModified have been implemented by any browsers at this time. Check the compatibility table for details.

    Methods

    From 78eea561752ac4869872d6007af9c9bb3c944120 Mon Sep 17 00:00:00 2001 From: Ruth John Date: Thu, 4 Mar 2021 10:18:47 +0000 Subject: [PATCH 08/10] Update files/en-us/web/api/clipboarditem/presentationstyle/index.html Co-authored-by: Joe Medley --- files/en-us/web/api/clipboarditem/presentationstyle/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/api/clipboarditem/presentationstyle/index.html b/files/en-us/web/api/clipboarditem/presentationstyle/index.html index 0848d73c98bf5eb..4fa5b3e19a7d8b9 100644 --- a/files/en-us/web/api/clipboarditem/presentationstyle/index.html +++ b/files/en-us/web/api/clipboarditem/presentationstyle/index.html @@ -31,7 +31,7 @@

    Value

    Examples

    -

    In the below example, we're returning all items on the clipboard via the {{domxref("clipboard.read()")}} method. Then logging the presentationStyle property.

    +

    In the below example, we're returning all items on the clipboard via the {{domxref("clipboard.read()")}} method, then logging the presentationStyle property.

    async function getClipboardContents() {
       try {
    
    From b9b33b4646c15ff30d9ca3d95f018ae3b43f9d79 Mon Sep 17 00:00:00 2001
    From: Rumyra 
    Date: Thu, 4 Mar 2021 10:48:14 +0000
    Subject: [PATCH 09/10] fixes
    
    ---
     files/en-us/web/api/clipboarditem/clipboarditem/index.html    | 2 +-
     files/en-us/web/api/clipboarditem/gettype/index.html          | 2 +-
     files/en-us/web/api/clipboarditem/index.html                  | 4 ----
     .../en-us/web/api/clipboarditem/presentationstyle/index.html  | 2 +-
     files/en-us/web/api/clipboarditem/types/index.html            | 2 +-
     5 files changed, 4 insertions(+), 8 deletions(-)
    
    diff --git a/files/en-us/web/api/clipboarditem/clipboarditem/index.html b/files/en-us/web/api/clipboarditem/clipboarditem/index.html
    index 66a218cde8ed82d..99bc2edc94faa36 100644
    --- a/files/en-us/web/api/clipboarditem/clipboarditem/index.html
    +++ b/files/en-us/web/api/clipboarditem/clipboarditem/index.html
    @@ -45,7 +45,7 @@ 

    Parameters

    Examples

    -

    The below example requests a png image using the {{domxref("Fetch API")}}, and in turn, the {{domxref("Body.blob()", "responses' blob()")}} method, to create a new {{domxref("ClipboardItem")}} and write it to the clipboard, using the {{domxref("Clipboard API")}}.

    +

    The below example requests a png image using the {{domxref("Fetch API")}}, and in turn, the {{domxref("Body.blob()", "responses' blob()")}} method, to create a new {{domxref("ClipboardItem")}}. This item is then written to the clipboard, using the {{domxref("Clipboard.write()")}} method.

    Note: You can only pass in one clipboard item at a time.

    diff --git a/files/en-us/web/api/clipboarditem/gettype/index.html b/files/en-us/web/api/clipboarditem/gettype/index.html index c1640f2269fd14c..c31d2fe9e291b61 100644 --- a/files/en-us/web/api/clipboarditem/gettype/index.html +++ b/files/en-us/web/api/clipboarditem/gettype/index.html @@ -18,7 +18,7 @@

    Syntax

    var blob = clipboardItem.getType(type);
    + class="brush: js">var blob = clipboardItem.getType(type);

    Parameters

    diff --git a/files/en-us/web/api/clipboarditem/index.html b/files/en-us/web/api/clipboarditem/index.html index ff7f2a46a778142..9a96f43a769b8c5 100644 --- a/files/en-us/web/api/clipboarditem/index.html +++ b/files/en-us/web/api/clipboarditem/index.html @@ -145,10 +145,6 @@

    Browser compatibility

    {{Compat("api.ClipboardItem")}}

    -
    -

    Note: Image format support varies by browser. See the browser compatibility table for the {{domxref("Clipboard")}} interface.

    -
    -

    See also

      diff --git a/files/en-us/web/api/clipboarditem/presentationstyle/index.html b/files/en-us/web/api/clipboarditem/presentationstyle/index.html index 0848d73c98bf5eb..1bfbea83755fb02 100644 --- a/files/en-us/web/api/clipboarditem/presentationstyle/index.html +++ b/files/en-us/web/api/clipboarditem/presentationstyle/index.html @@ -23,7 +23,7 @@

      Syntax

      var presentationStyle = clipboardItem.presentationStyle;
      + class="brush: js">var presentationStyle = clipboardItem.presentationStyle;

      Value

      diff --git a/files/en-us/web/api/clipboarditem/types/index.html b/files/en-us/web/api/clipboarditem/types/index.html index ff8ce0b1a5ebacd..05b6f625e51c4c5 100644 --- a/files/en-us/web/api/clipboarditem/types/index.html +++ b/files/en-us/web/api/clipboarditem/types/index.html @@ -24,7 +24,7 @@

      Syntax

      var types = clipboardItem.types;
      + class="brush: js">var types = clipboardItem.types;

      Value

      From cef0825b8965c3f19d4ce1c94d9f144785d2d29c Mon Sep 17 00:00:00 2001 From: Rumyra Date: Mon, 8 Mar 2021 11:24:29 +0000 Subject: [PATCH 10/10] removing members not implemented --- files/en-us/web/api/clipboarditem/index.html | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/files/en-us/web/api/clipboarditem/index.html b/files/en-us/web/api/clipboarditem/index.html index 6e32f30defeb58e..0c86b27272088df 100644 --- a/files/en-us/web/api/clipboarditem/index.html +++ b/files/en-us/web/api/clipboarditem/index.html @@ -46,17 +46,8 @@

      Properties

      {{domxref("ClipboardItem.presentationStyle", "presentationStyle")}} {{ReadOnlyInline}}
      Returns one of the following: "unspecified", "inline" or "attachment".
      -
      {{domxref("ClipboardItem.delayed", "delayed")}} {{ReadOnlyInline}}
      -
      Returns a boolean which if true indicates the ClipboardItem was created using the static createDelayed() method.
      - -
      {{domxref("ClipboardItem.lastModified", "lastModified")}} {{ReadOnlyInline}}
      -
      Returns an {{domxref("DOMTimeStamp")}} representing the time at which the ClipboardItem was last modified.
      -
      -

      Note: Neither ClipboardItem.delayed nor ClipboardItem.lastModified have been implemented by any browsers at this time. Check the compatibility table for details.

      -
      -

      Methods

      This interface defines the following methods.

      @@ -66,17 +57,6 @@

      Methods

      Returns a {{jsxref("Promise")}} that resolves with a {{domxref("Blob")}} of the requested {{Glossary("MIME type")}}, or an error if the MIME type is not found.
      -

      Static Methods

      - -
      -
      {{domxref("ClipboardItem.createDelayed()")}}
      -
      Creates a new ClipboardItem object, with the {{Glossary("MIME type")}} as the key and {{domxref("Blob")}} as the value.
      -
      - -
      -

      Note: ClipboardItem.createDelayed() has not been implemented by any browsers at this time. Check the compatibility table for details.

      -
      -

      Examples

      Writing To Clipboard