flk-copy2clipboard
v0.1.2
Published
Copy text to user clipboard.
Readme
Copy to clipboard
A lightweight package to copy text to clipboard.
Installation
flk install flk-copy2clipboard
Usage
In anywhere in the application call the copyToClipboard function and pass the text that you want to mark it as copied.
main.js
copyToClipboard('my-string');