The clipboard provides read and write access to the system's clipboard.
The clipboard provides read and write access to the system's clipboard.
(read-text clipboard)
Read the current clipboard contents as text.
Returns: Thenable<string>
- A thenable that resolves to a string.
Read the current clipboard contents as text. **Returns:** `Thenable<string>` - A thenable that resolves to a string.
(write-text clipboard value)
Writes text into the clipboard.
Parameters:
value
: string
Returns: Thenable<void>
- A thenable that resolves when writing happened.
Writes text into the clipboard. **Parameters:** - `value`: `string` **Returns:** `Thenable<void>` - A thenable that resolves when writing happened.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |