ClipboardItem
The ClipboardItem
interface of the Clipboard API represents a single item format, used when reading or writing clipboard data using Clipboard.read() and Clipboard.write() respectively. Available only in secure contexts.
Constructors
Properties
The read-only presentationStyle
property of the ClipboardItem interface returns a string indicating how an item should be presented.
The read-only types
property of the ClipboardItem interface returns an Array of MIME type available within the ClipboardItem.
Functions
The getType()
method of the ClipboardItem interface returns a Promise that resolves with a Blob of the requested MIME type or an error if the MIME type is not found.
The getType()
method of the ClipboardItem interface returns a Promise that resolves with a Blob of the requested MIME type or an error if the MIME type is not found.