W3cubDocs

/Web APIs

ClipboardEvent

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

Event ClipboardEvent

Constructor

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.

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
ClipboardEvent 58 17 22 No 45 10.1 58 58 22 43 10.3 7.0
ClipboardEvent 41 12 22 4 28 10.1 41 41 22 28 10.3 4.0
clipboardData 41 12 22 5 28 10.1 41 41 22 28 10.3 4.0

See also

© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/ClipboardEvent