Open Brett-Riverboat opened 3 years ago
Add the following attribute to your button: move-disabled="true"
. This will prevent the click event on the button from being picked up by the movable lib.
<button move-disabled="true" @click="doSomething"></i>
Is there a way to place a button on a movable that calls a method in your Vue component? I tried but the button just drags the component.
Here is a simple example: https://codesandbox.io/s/zealous-waterfall-ewln2?file=/src/App.vue