Skip to content

clipboard

Functions

copy

ts
copy(text: string)

A tool for copying text to the system clipboard.

Parameters:

NameTypeDefault
textstring

Throws: std::clipboardCopy

(source)

paste

ts
paste(): string

A tool for reading text from the system clipboard.

Returns: string

Throws: std::clipboardPaste

(source)