@kevinshao0130/copytoclipboard.js
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

copyToClipboard.js

A common javascript function that copies to the clipboard for all the platform and browser.

Usage

import copyToClipboard from '@kevinshao0130/copytoclipboard.js'
...
copyToClipboard('string')

Props

text

  • Type: string
  • Default: undefined

License

ISC

Package Sidebar

Install

npm i @kevinshao0130/copytoclipboard.js

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

1.7 kB

Total Files

4

Last publish

Collaborators

  • kevinshao0130