Sign up (with export icon)

ClipboardInputEventData

Api-interface iconinterface

The value of the event-paste, event-copy and event-cut events.

In order to access the clipboard data, use the dataTransfer property.

Properties

  • Chevron-right icon

    The content of clipboard input. Defaults to text/html. Falls-back to text/plain.

  • Chevron-right icon

    Data transfer instance.

  • Chevron-right icon

    extraContent : unknown | undefined

    Custom data stored by the clipboardInput event handlers. Custom properties of this object can be defined and use to pass parameters between listeners. Content of this property is passed to the inputTransformation event.

  • Chevron-right icon

    method : 'drop' | 'paste'

    Whether the event was triggered by a paste or a drop operation.

  • Chevron-right icon

    The tree view element representing the target.

  • Chevron-right icon

    targetRanges : Array<ViewRange> | null

    The ranges which are the target of the operation (usually – into which the content should be inserted). If the clipboard input was triggered by a paste operation, this property is not set. If by a drop operation, then it is the drop position (which can be different than the selection at the moment of the drop).