All Projects → zhuowenli → Vue Clipboards

zhuowenli / Vue Clipboards

Licence: mit
📋 Vue2.0 directive to copy or cut text to clipboard.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Vue Clipboards

Inferno
🔥 Modern command line tool for malware creation on Windows
Stars: ✭ 105 (-47.5%)
Mutual labels:  clipboard
Lazyhub
lazyhub - Terminal UI Client for GitHub using gocui.
Stars: ✭ 133 (-33.5%)
Mutual labels:  clipboard
Ultratabsaver
The open source Tab Manager Extension for Safari.
Stars: ✭ 178 (-11%)
Mutual labels:  clipboard
Chaos
Proof of concept, general purpose pastejacker for GNU/Linux
Stars: ✭ 115 (-42.5%)
Mutual labels:  clipboard
Upload
The file upload extension with insane intelligence for your Flarum forum.
Stars: ✭ 131 (-34.5%)
Mutual labels:  clipboard
Xcv
✂️ Cut, Copy and Paste files with Bash
Stars: ✭ 144 (-28%)
Mutual labels:  clipboard
Ahk Rare
My collection of rare and maybe very useful functions
Stars: ✭ 101 (-49.5%)
Mutual labels:  clipboard
Piknik
Copy/paste anything over the network.
Stars: ✭ 2,221 (+1010.5%)
Mutual labels:  clipboard
Feedback
Feedback & wiki for Snipaste https://snipaste.com
Stars: ✭ 1,863 (+831.5%)
Mutual labels:  clipboard
Gnome Shell Screenshot
Gnome Shell extension for making and uploading screenshots
Stars: ✭ 163 (-18.5%)
Mutual labels:  clipboard
Vue Clipboard2
A simple vue2 binding to clipboard.js
Stars: ✭ 1,617 (+708.5%)
Mutual labels:  clipboard
Copyq Commands
Useful commands for CopyQ clipboard manager.
Stars: ✭ 131 (-34.5%)
Mutual labels:  clipboard
Tmux Yank
Tmux plugin for copying to system clipboard. Works on OSX, Linux and Cygwin.
Stars: ✭ 1,941 (+870.5%)
Mutual labels:  clipboard
Clipr
R functions for reading and writing from the system clipboard
Stars: ✭ 112 (-44%)
Mutual labels:  clipboard
Clipman
A simple clipboard manager for Wayland
Stars: ✭ 182 (-9%)
Mutual labels:  clipboard
Markor
Text editor - Notes & ToDo (for Android) - Markdown, todo.txt, plaintext, math, ..
Stars: ✭ 1,394 (+597%)
Mutual labels:  clipboard
Use Clippy
React Hook for reading from and writing to the user's clipboard.
Stars: ✭ 139 (-30.5%)
Mutual labels:  clipboard
Clipboard
React Native Clipboard API for both iOS and Android.
Stars: ✭ 198 (-1%)
Mutual labels:  clipboard
Zsh Vi Mode
💻 A better and friendly vi(vim) mode plugin for ZSH.
Stars: ✭ 181 (-9.5%)
Mutual labels:  clipboard
React Use Clipboard
React hook that provides copy to clipboard functionality.
Stars: ✭ 149 (-25.5%)
Mutual labels:  clipboard

vue-clipboards

📋 Vue2.0 directive to copy or cut text to clipboard.

DEMO: https://zhuowenli.github.io/vue-clipboards/

Install

$ npm install vue-clipboards

Usage

import VueClipboards from 'vue-clipboards';

Vue.use(VueClipboards);

new Vue({
    data() {
        return {
            copyData: 'copy data'
        }
    }
});
<button v-clipboard="copyData">Copy</button>

Event

<button v-clipboard="copyData" @success="handleSuccess" @error="handleError">Copy</button>
import VueClipboards from 'vue-clipboards';

Vue.use(VueClipboards);

new Vue({
    data() {
        return {
            copyData: 'copy data'
        }
    },
    methods: {
        handleSuccess(e) {
            console.log(e);
        },
        handleError(e) {
            console.log(e);
        },
    }
});

Development

  • yarn dev: Run example in development mode
  • yarn deploy: Deploy example to gh-pages
  • yarn build: Build component in umd & es format
  • yarn watch: Build component in umd & es format with watch mode

Check out your npm scripts, it's using vbuild under the hood.


Generated by create-vue-app

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].