vue-clipboard clipboard directly for Vue.js
Switch branches/tags
Nothing to show
Clone or download
xiaokaike Merge pull request #3 from noolan/patch-1
Fix minor spelling issue in example
Latest commit 3b773fc Oct 25, 2016
Permalink
Failed to load latest commit information.
assets [DEL] May 12, 2016
example Fix minor spelling issue in example Oct 24, 2016
.gitignore [DEL] May 12, 2016
README.md [UPD] update readme May 12, 2016
index.html [UPD] update demo May 12, 2016
package.json [UPD] add docs May 12, 2016
vue-clipboard.js [UPD] May 12, 2016
vue-clipboard.min.js [UPD] add docs May 12, 2016

README.md

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>