Skip to content

snowjujube/jujube-vue-clipboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Something to say

I can not use English very well, but under certain sutuation of this community, no translation for Chinese people, I'll write this markdown in English. ʕ•̫͡•ོʔ•̫͡•ཻʕ•̫͡•ʔ•͓͡•ʔ

Install

Get it on npm.

npm install jujube-vue-clipboard --save

Setup

import JujubeVueClipboard from 'jujube-vue-clipboard'
Vue.use(JujubeVueClipboard)

Usage

// use in dom by Vue directive
<button v-jujube-copy="text">copy me</button>

// Vue global method
Vue.prototype.$copy(text)

// Vue instance
this.$copy(text)

About

clipboard for vue

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published