Skip to content

ClipboardData

Description

Initializes the clipboard data store as an empty object.

Methods

getData

Source code

clipboardData.getData()

Returns the clipboard data stored under the given MIME type key, or undefined if absent.

setData

Source code

clipboardData.setData()

Stores a value in the clipboard data under the given MIME type key.