Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 416 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 416 Bytes

vue-clipboard

clipboard directly for Vue.js

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>