Appearance
@ryanuo/utils / browser / copyToClipboard
function copyToClipboard(text): Promise<boolean>;
Copy text to clipboard
string
The text to be copied.
Promise<boolean>
Promise
boolean
A boolean indicating success or failure of the operation.