Copies set text to clipboard.
copies 'Hello World!' to the clipboard and prints "true":
console.log(copyToClipboard('Hello World!'));
The text to be copied to the clipboard.
true - If the copy operation is successful.
Generated using TypeDoc
Copies set text to clipboard.
copies 'Hello World!' to the clipboard and prints "true":