ClipboardEvent

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

The ClipboardEvent interface represents events providing information related to modification of the clipboard, that is cut, copy, and paste events.

Constructor

ClipboardEvent()
Creates a ClipboardEvent event with the given parameters.

Properties

Also inherits properties from its parent Event.

ClipboardEvent.clipboardData Read only
Is a DataTransfer object containing the data affected by the user-initiated cut, copy, or paste operation, along with its MIME type.

Methods

No specific methods; inherits methods from its parent Event.

Specifications

Specification Status Comment
Clipboard API and events
The definition of 'ClipboardEvent' in that specification.
Working Draft Initial definition.

Browser compatibility

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
ClipboardEvent
Experimental
Chrome Full support YesEdge Full support 12Firefox Full support 22IE Full support 4Opera 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
ClipboardEvent() constructor
Experimental
Chrome Full support 58Edge Full support ≤79Firefox Full support 22IE ? Opera Full support 45Safari ? WebView Android Full support 58Chrome Android Full support 58Firefox Android Full support 22Opera Android Full support 43Safari iOS ? Samsung Internet Android Full support 7.0
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
Compatibility unknown
Compatibility unknown
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.

See also