1.1.5 • Published 4 years ago

vaah-vue-clicktocopy v1.1.5

Weekly downloads
68
License
-
Repository
github
Last release
4 years ago

vaah-vue-clicktocopy

Click To Copy Vue.js component

Please consider starring the project to show your :heart: and support.

Install

Install with npm:

npm i vaah-vue-clicktocopy

Register the component

import Vue from 'vue'
import VaahVueClickToCopy from 'vaah-vue-clicktocopy'

Vue.component('vh-copy', VaahVueClickToCopy)

You can pass following props to the vue components:

<vh-copy class="btn btn-primary"
:data="'Data string to Copy'"
:label="'Text String to Display'"
:confirm_dialog="'buefy'"
@copied="copiedData"
></vh-copy>

OR

You can write label in between the tags as well:

<vh-copy class="btn btn-primary"
:data="'Data string to Copy'"
:confirm_dialog="'buefy'"
@copied="copiedData">
Copy
</vh-copy>

OR

You can also write html tag for icon or anything:

<vh-copy class="btn btn-primary"
:data="'Data string to Copy'"
:confirm_dialog="'buefy'"
@copied="copiedData">
<!--code for icon-->
</vh-copy>

Support us

WebReinvent is a web agency based in Delhi, India. You'll find an overview of all our open source projects on github.

License

The MIT License (MIT). Please see License File for more information.

Credits:

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago