# copy

Vue directive to add a click-to-copy


# Installation

Global install:

import Vue from "vue"
import { copy } from "vuetensils"

Vue.directive("copy", copy)

Local install:

  import { copy } from "vuetensils"

  export default {
    directives: {

# Usage

Note that you must pass a string inside the v-copy value. The example has backticks. Single quotes would work as well.

Last Updated: 11/19/2019, 5:58:27 AM