vue-clipboard2 icon indicating copy to clipboard operation
vue-clipboard2 copied to clipboard

A simple vue2 binding to clipboard.js

Results 39 vue-clipboard2 issues
Sort by recently updated
recently updated
newest added

Like it https://clipboardjs.com/ ```js new ClipboardJS('.btn', { target: function(trigger) { return trigger.nextElementSibling; } }); ``` ![image](https://user-images.githubusercontent.com/24489180/53076820-9a4b4200-352b-11e9-8942-3a0ea16dec8b.png) [Attachments have an implementation](https://yizhuan5.com/work.html?1#1-1) You can copy and paste images from the editor back...

suggestion

error An unexpected error occurred: "https://registry.yarnpkg .com/vue-clipborad2: Not found".

irrelevant

Hi! I've noticed that your are defining the $copyText function and so on in the plugin Instead of that, you could define the functions outside the plugin and export them...

suggestion

Hi, https://clipboardjs.com/ suggests that IE 9+ should work. I am testing in IE 11. Console logging the event does show the 'text' is there, however nothing makes it to the...

reproduction needed

在Number类型的input上报了以下错误 Failed to execute 'setSelectionRange' on 'HTMLInputElement': The input element's type ('number') does not support selection.

enhancement

on iOS12.2,it failed to copy

reproduction needed

It doesn't work on 'touchstart' only work on 'click'. It's always 'Can not copy'. why?

reproduction needed

第一次复制成功之后,第二次再去复制不通的值不会执行success

reproduction needed

有一个插件的配置项很适合这个插件,比如说 1. config's default successful message 2. config‘s default failed message

bug
suggestion

Currently it seems to only allow Strings and Text to copy but will error if you provide an Number to copy. ![image](https://user-images.githubusercontent.com/28756544/191241892-f8e6d79c-77f9-451d-9f84-e839250908c5.png)