ClipboardEventData (clipboard)
@ckeditor/ckeditor5-clipboard/src/clipboardobserver
The value of the event-paste
,
event-copy
and event-cut
events.
In order to access the clipboard data, use the dataTransfer
property.
Filtering
Properties
-
dataTransfer : DataTransfer
module:clipboard/clipboardobserver~ClipboardEventData#dataTransfer
readonly
The data transfer instance.
-
The tree view element representing the target.
Methods
-
constructor( view, domEvent, [ additionalData ] )
module:clipboard/clipboardobserver~ClipboardEventData#constructor
inherited
Parameters
view : View
The instance of the view controller.
domEvent : Event
The DOM event.
[ additionalData ] : Object
Additional properties that the instance should contain.
-
preventDefault()
module:clipboard/clipboardobserver~ClipboardEventData#preventDefault
inherited
Prevents the native's event default action.
-
stopPropagation()
module:clipboard/clipboardobserver~ClipboardEventData#stopPropagation
inherited
Stops native event propagation.
Every day, we work hard to keep our documentation complete. Have you spotted an outdated information? Is something missing? Please report it via our issue tracker.