@jsvision/web / ClipboardBridge
Interface: ClipboardBridge
Defined in: clipboard.ts:12
The outbound-only slice of the browser Clipboard API (a narrow local type — no DOM lib, no reads).
Methods
writeText()
writeText(
text):Promise<void>
Defined in: clipboard.ts:14
Write text to the clipboard. The browser requires an active user gesture; may reject otherwise.
Parameters
text
string
Returns
Promise<void>