ClipboardEvent.clipboardData

Experimental

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

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

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

Syntax

data = ClipboardEvent.clipboardData

Specifications

Specification
Clipboard API and events
# clipboardevent-clipboarddata

Browser compatibility

BCD tables only load in the browser

See also