/vue-clipboard

Copy the text data in clipboard from element selection or pass the text data

Primary LanguageVueMIT LicenseMIT

vue-clipboard

🚥 Copy the text data in clipboard from element selection or pass the text data

npm license bit PRs welcome Node.js Package CodeQL

Version Support

Vue 3 - Current Branch ( TypeScript + Vite + vitest )

Vue 2

🎨 Features

Find out all available features on setting props and see how that works on examples.

🚚 Installation

yarn/npm

# npm
npm i @codeeshop/vue-clipboard
# yarn
yarn add @codeeshop/vue-clipboard

cdn

# latest
https://unpkg.com/@codeeshop/vue-clipboard

🚀 Quick Start

<template>
  <div>
    <VueClipboard />
  </div>
</template>

<script>
  import VueClipboard from '@codeeshop/vue-clipboard'
  import '@codeeshop/vue-clipboard.css'
  
  export default {
    name: 'MyComponent',
    components: { VueClipboard },
  }
</script>

🔖 License

This software is licensed under the MIT.