W3cubDocs

/Web APIs

ClipboardEvent: clipboardData property

The ClipboardEvent.clipboardData property holds a DataTransfer object, which can be used:

See the cut, copy, and paste events documentation for more information.

Value

A DataTransfer object.

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
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/clipboardData