Class: ClipboardManager
The ClipboardManager (accessible from the ExtensionContext) is responsible for the management of all ClipboardItem objects, and provides the user the ability to create new ClipboardItem objects for use within an extension.
Constructors
new ClipboardManager()
private
new ClipboardManager():ClipboardManager
Returns
Properties
clipboard
readonly
clipboard:ClipboardItem
Remarks
The primary ClipboardItem object is always present (even if it's empty) and cannot be deleted. This object represents the main ClipboardItem object which is always accessible through the UI for cut/paste operations
Throws
This property can throw when used.
Methods
create()
create():
ClipboardItem
Returns
Remarks
Create a new ClipboardItem object
This function can't be called in read-only mode.
Throws
This function can throw errors.