docs.rodeo

MDN Web Docs mirror

ClipboardEvent: clipboardData property

{{APIRef("Clipboard API")}} 

The clipboardData property of the {{domxref("ClipboardEvent")}}  interface holds a {{domxref("DataTransfer")}}  object, which can be used to:

See the {{domxref("Element/cut_event", "cut")}} , {{domxref("Element/copy_event", "copy")}} , and {{domxref("Element/paste_event", "paste")}}  events documentation for more information.

Value

A {{domxref("DataTransfer")}}  object.

The property can be null when the event is created using the constructor. It is never null when dispatched by the browser.

Specifications

{{Specifications}} 

Browser compatibility

{{Compat}} 

See also

In this article

View on MDN