An open API service indexing awesome lists of open source software.

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

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