Copy To Clipboard
This function is used to copy text to the clipboard

Signature

1
copyToClipboard(data: string, options: object): Promise
Copied!

Arguments

Uses the copy-to-clipboard library
Argument Name
Description
data
Data that would be copied
options.debug
Boolean. Optional. Enable output to console
options.format
String. Optional. Set the mime type of the text being copied
Copy link
Edit on GitHub