ClipboardEvent.clipboardData

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 Status Comment
Clipboard API and events
The definition of 'ClipboardEvent.clipboardData' in that specification.
Working Draft Initial definition.

Browser compatibility

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
clipboardData
Experimental
Chrome Full support YesEdge Full support 12Firefox Full support 22IE Full support 5Opera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support 22Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes

Legend

Full support
Full support
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.

See also