Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 535 Bytes

copytoclipboard.md

File metadata and controls

22 lines (15 loc) · 535 Bytes
description
This function is used to copy text to the clipboard

Copy To Clipboard

Signature

copyToClipboard(data: string, options: object): void

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