clipboardData property
DataTransfer?
get
clipboardData
The clipboardData
property of the ClipboardEvent interface holds a
DataTransfer object, which can be used to:
- specify what data should be put into the clipboard from the
Element.cut_event
andElement.copy_event
event handlers, typically with a DataTransfer.setData call; - obtain the data to be pasted from the
Element.paste_event
event handler, typically with a DataTransfer.getData call.
See the Element.cut_event
, Element.copy_event
, and
Element.paste_event
events documentation for more information.
Implementation
external DataTransfer? get clipboardData;