Function: copyText()
copyText(
text):Promise<boolean>
Copy text to the clipboard, returning whether it succeeded so the caller
can decide whether to show a confirmation.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<boolean>