ClipboardEvent: clipboardData property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

The ClipboardEvent.clipboardData property holds a DataTransfer object, which can be used:

See the cut, copy, and paste events documentation for more information.

Value

A DataTransfer object.

Specifications

Specification
Clipboard API and events
# clipboardevent-clipboarddata

Browser compatibility

BCD tables only load in the browser

See also