https://github.com/webreinvent/vaah-vue-clicktocopy
Click To Copy Vue.js component
https://github.com/webreinvent/vaah-vue-clicktocopy
clicktocopy clipboard vuejs vuejs-components
Last synced: about 1 month ago
JSON representation
Click To Copy Vue.js component
- Host: GitHub
- URL: https://github.com/webreinvent/vaah-vue-clicktocopy
- Owner: webreinvent
- Created: 2019-07-01T20:22:21.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-20T17:51:03.000Z (over 6 years ago)
- Last Synced: 2025-09-22T01:34:31.647Z (9 months ago)
- Topics: clicktocopy, clipboard, vuejs, vuejs-components
- Language: JavaScript
- Homepage: https://vaah.dev
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vaah-vue-clicktocopy
> Click To Copy Vue.js component
Please consider starring the project to show your :heart: and support.
## Install
Install with [npm](https://www.npmjs.com/):
```sh
npm i vaah-vue-clicktocopy
```
Register the component
```sh
import Vue from 'vue'
import VaahVueClickToCopy from 'vaah-vue-clicktocopy'
Vue.component('vh-copy', VaahVueClickToCopy)
```
You can pass following `props` to the vue components:
```html
```
OR
You can write label in between the tags as well:
```html
Copy
```
OR
You can also write html tag for icon or anything:
```html
```
## Support us
[WebReinvent](https://www.webreinvent.com) is a web agency based in Delhi, India. You'll find an overview of all our open source projects [on github](https://github.com/webreinvent).
## License
The MIT License (MIT). Please see [License File](LICENSE) for more information.
#### Credits:
- To generate vue npm package:
https://github.com/team-innovation/vue-sfc-rollup
- To check download stats:
http://npm-stats.org/#/vaah-vue-clicktocopy