Skip to content

Commit

Permalink
Synchronize with BCD v5.5.31 (mdn#33875)
Browse files Browse the repository at this point in the history
Co-authored-by: OnkarRuikar <OnkarRuikar@users.noreply.github.com>
  • Loading branch information
OnkarRuikar and OnkarRuikar authored Jun 3, 2024
1 parent fb44264 commit e2bd4ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion files/en-us/web/api/clipboarditem/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ _This interface provides the following properties._

_This interface defines the following methods._

- {{domxref("ClipboardItem.supports_static", "ClipboardItem.supports()")}} {{experimental_inline}}
- {{domxref("ClipboardItem.supports_static", "ClipboardItem.supports()")}}
- : Checks whether a given {{Glossary("MIME type")}} is supported by the clipboard. This enables a website to detect whether a MIME type is supported by the clipboard before attempting to write data.

## Instance methods
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/clipboarditem/supports_static/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "ClipboardItem: supports() static method"
short-title: supports()
slug: Web/API/ClipboardItem/supports_static
page-type: web-api-static-method
status:
- experimental
browser-compat: api.ClipboardItem.supports_static
---

{{APIRef("Clipboard API")}} {{securecontext_header}}{{SeeCompatTable}}
{{APIRef("Clipboard API")}} {{securecontext_header}}

The **`supports()`** static method of the {{domxref("ClipboardItem")}} interface returns `true` if the given {{Glossary("MIME type")}} is supported by the clipboard, and `false` otherwise.

Expand Down

0 comments on commit e2bd4ff

Please sign in to comment.