Limited availability

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

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

Event ClipboardEvent



Creates a ClipboardEvent event with the given parameters.

Instance properties

Also inherits properties from its parent Event.

ClipboardEvent.clipboardData Read only

A DataTransfer object containing the data affected by the user-initiated cut, copy, or paste operation, along with its MIME type.

Instance methods

No specific methods; inherits methods from its parent Event.


Clipboard API and events
# clipboard-event-interfaces

Browser compatibility

BCD tables only load in the browser

See also