ClipboardInputEventData
interface
The value of the event-paste, event-copy and event-cut events.
In order to access the clipboard data, use the dataTransfer property.
Properties
content : ViewDocumentFragment | undefinedmodule:clipboard/clipboardobserver~ClipboardInputEventData#contentThe content of clipboard input.
module:clipboard/clipboardobserver~ClipboardInputEventData#dataTransferData transfer instance.
method : 'drop' | 'paste'module:clipboard/clipboardobserver~ClipboardInputEventData#methodWhether the event was triggered by a paste or a drop operation.
module:clipboard/clipboardobserver~ClipboardInputEventData#targetThe tree view element representing the target.
targetRanges : null | Array<ViewRange>module:clipboard/clipboardobserver~ClipboardInputEventData#targetRangesThe 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).