Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

vue-clipboard

0.0.1 • Public • Published

vue-clipboard

clipboard directly for Vue.js

Live demo

Installation

NPM

$ npm install vue-clipboard

Usage

Using the v-touch directive

var VueClipboard = require('vue-clipboard')
 
Vue.use(VueClipboard)
 
new Vue({
  data: {
    copyData: 'copy data'
  }
})
<button v-clipboard:copy="copyData">Copy</button>
 

Keywords

none

install

npm i vue-clipboard

Downloadsweekly downloads

498

version

0.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar