euvl / v-clipboard

Simple and powerful clipboard plugin for Vue.js 2 and 3
MIT License
522 stars 39 forks source link

Callbacks don't fire #2

Closed speasley closed 6 years ago

speasley commented 6 years ago

Following the example provided in the documentation, neither of the callbacks fire. Tested in Chrome 63.0.3239.84 and Safari 11.0.2.

pandaljf commented 6 years ago

So do I

cksa commented 6 years ago

so do i

Heziode commented 6 years ago

So do I

euvl commented 6 years ago

In vue 2.5+ or smth directive does not have access to component's context

euvl commented 6 years ago

This is fixed in 2.0.1 but you will have to take a look in docs as far as the way callbacks are handled has changed.