Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 333 Bytes

README.md

File metadata and controls

24 lines (20 loc) · 333 Bytes

vue-clipboard2

An simple vuejs 2 binding for clipboard.js

Usage

<template id="temp">
  <div>
    <input type="text" v-model="message">
    <button v-clipboard:copy="message">Copy</button>
  </div>
</template>

<script>
export default {
  data () {
    return {
      message: 'Hello, World'
    }
  }
}
</script>