vue-clipboard2
vue-clipboard2 copied to clipboard
A simple vue2 binding to clipboard.js
Like it https://clipboardjs.com/ ```js new ClipboardJS('.btn', { target: function(trigger) { return trigger.nextElementSibling; } }); ```  [Attachments have an implementation](https://yizhuan5.com/work.html?1#1-1) You can copy and paste images from the editor back...
error An unexpected error occurred: "https://registry.yarnpkg .com/vue-clipborad2: Not found".
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...
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...
在Number类型的input上报了以下错误 Failed to execute 'setSelectionRange' on 'HTMLInputElement': The input element's type ('number') does not support selection.
It doesn't work on 'touchstart' only work on 'click'. It's always 'Can not copy'. why?
有一个插件的配置项很适合这个插件,比如说 1. config's default successful message 2. config‘s default failed message
Currently it seems to only allow Strings and Text to copy but will error if you provide an Number to copy. 