The ClipboardEvent interface represents events providing information related to modification of the clipboard, that is cut, copy, and paste events.
The ClipboardEvent interface represents events providing information related to modification of the clipboard, that is cut, copy, and paste events.
ClipboardEvent()Creates a ClipboardEvent event with the given parameters.
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.
No specific methods; inherits methods from its parent Event.
| Specification |
|---|
| Clipboard API and events # clipboard-event-interfaces |
| 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 |
copy, cut, paste
© 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