ClipboardEvent
The ClipboardEvent interface represents events providing information related to modification of the clipboard, that is cut, copy, and paste events.
Constructor
ClipboardEvent()-
Creates a
ClipboardEventevent with the given parameters.
Instance properties
Also inherits properties from its parent Event.
ClipboardEvent.clipboardDataRead only-
A
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 parent Event.
Specifications
| Specification |
|---|
| Clipboard API and events # clipboard-event-interfaces |
Browser compatibility
BCD tables only load in the browser
See also
- Copy-related events:
copy,cut,paste - Clipboard API
- Async Clipboard API demo on Glitch
- Image support for Async Clipboard article