Skip to main content

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

NameTypeDescription
textstringThe content that need to be copied.

Returns

void

Remarks

This is a utility method. This works only in development or test mode.

Defined in

src/utilities/copyToClipboard.ts:9