talawa-api / Exports / utilities/copyToClipboard
Module: utilities/copyToClipboard
Table of contents
Functions
Functions
copyToClipboard
▸ copyToClipboard(text
): void
This utility function copy the text into the clipboard (test change).
Parameters
Name | Type | Description |
---|---|---|
text | string | The content that need to be copied. |
Returns
void
Remarks
This is a utility method. This works only in development or test mode.