@geduramc/copy-clipboard-element
v1.0.8
Published
Copy to clipboard element
Downloads
11
Maintainers
Readme
Installation
Package install
npm i @geduramc/copy-clipboard-element
CDN
<script type="module" src="https://unpkg.com/@geduramc/copy-clipboard-element@latest/lib/copy-element"></script>
Usage
<copy-clipboard icon-theme="dark" tooltip-position="right"></copy-clipboard>
import { copy } from '@geduramc/copy-clipboard-element'
copy('Lorem Ipsum')
Attributes
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'feat: add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request