Clipboard

This interface provides access to the system’s clipboard.

Methods

// Retrieves the text from the clipboard (not supported on web)
getText(): SyncTasks.Promise<string>;

// Places the specified text on the clipboard
setText(text: string): void;