Skip to main content

Home > @jsplumbtoolkit/copy-paste > Clipboard > pasteCurrentSelection

Clipboard.pasteCurrentSelection() method​

Copies and pastes the contents of the associated Toolkit instance's current selection into the clipboard. This method is equivalent to calling copyCurrentSelection() first and then calling paste(..).

Signature:

pasteCurrentSelection(options?: PasteOptions): ClonedSet;

Parameters​

ParameterTypeDescription
optionsPasteOptionsOptions for the paste.

Returns:

ClonedSet