Abstract
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(..)
.
Optional
options: PasteOptionsOptions for the paste.
Offers methods to copy and paste data from/to a Toolkit instance. This class is abstract and is subclassed to concrete implementations by UI specific packages, of which currently there is only
@jsplumbtoolkit/browser-ui-copy-paste
. In the future if alternate renderers are written for the Toolkit it is expected that an implementation of the Clipboard would be one of the inclusions.