copyToClipboard
talawa-api • Docs
talawa-api / utilities/copyToClipboard / copyToClipboard
Function: copyToClipboard()
> copyToClipboard(text
): void
Copies the given text to the clipboard.
Parameters
• text: string
The content that needs to be copied to the clipboard.
Returns
void
Remarks
This is a utility method and works only in development or test mode.