Function · Desktop Services
readClipboardText
Reads plain text from the desktop clipboard.
@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43Signature
TypeScript
readClipboardText(): Promise<string>Returns
Promise<string> — Clipboard text, or an empty string when no text is available.
Source
SharpTS.Gui.Sdk/GuiPackage/runtime.ts:1443 at SharpTS revision 7c6010104a43c34d80e9d44704cf179bc4f5b8e0.