ClipboardEvent
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2017.
TheClipboardEvent interface of theClipboard API represents events providing information related to modification of the clipboard, that iscut,copy, andpaste events.
In this article
Constructor
ClipboardEvent()Creates a
ClipboardEventevent with the given parameters.
Instance properties
Also inherits properties from its parentEvent.
ClipboardEvent.clipboardDataRead onlyA
DataTransferobject containing the data affected by the user-initiatedcut,copy, orpasteoperation, along with its MIME type.
Instance methods
No specific methods; inherits methods from its parentEvent.
Specifications
| Specification |
|---|
| Clipboard API and events> # clipboard-event-interfaces> |
Browser compatibility
See also
- Copy-related events:
copy,cut,paste - Clipboard API
- Image support for Async Clipboard article