Experimental: 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 (en-US), copy (en-US), and paste (en-US) events.


ClipboardEvent() (en-US)
Creates a ClipboardEvent event with the given parameters.


Also inherits properties from its parent Event.

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


No specific methods; inherits methods from its parent Event.


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

Browser compatibility

BCD tables only load in the browser

See also