Class

ClipboardEventData (clipboard)

@ckeditor/ckeditor5-clipboard/src/clipboardobserver

class

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

    readonly

    The data transfer instance.

  • target : Element

    readonly inherited

    The tree view element representing the target.

Methods

  • constructor( view, domEvent, [ additionalData ] )

    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()

    inherited

    Prevents the native's event default action.

  • stopPropagation()

    inherited

    Stops native event propagation.