Interface: Clipboard
libs/common/ide/types/Clipboard.Clipboard
The clipboard provides read and write access to the system's clipboard.
Implemented by
Methods
readText
▸ readText(): Thenable
<string
>
Read the current clipboard contents as text.
Returns
Thenable
<string
>
A thenable that resolves to a string.
Defined in
libs/common/ide/types/Clipboard.ts:10
writeText
▸ writeText(value
): Thenable
<void
>
Writes text into the clipboard.
Parameters
Name | Type |
---|---|
value | string |
Returns
Thenable
<void
>
A thenable that resolves when writing happened.
Defined in
libs/common/ide/types/Clipboard.ts:16