Inndy/vue-clipboard2

How i use clipboard intro render function

ziqq opened this issue · 0 comments

ziqq commented

I try use this code, it's not working. Before include main file vue-clipboard. Include current file not working to.

directives: [
  {
    name: 'v-clipboard',
    arg: 'copy',
    value: this.copyText,
  },
  {
    name: 'v-clipboard',
    arg: 'success',
    value: this.onCopy,
  },
  {
    name: 'v-clipboard',
    arg: 'error',
    value: this.onError,
  },
],