We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
Just wondering if it's possible to dynamically disable v-drag?
The use-case is a component, which has a draggable prop which either enables or disables v-drag on the component.
draggable
I looked setting the attribute dynamically, but couldn't make it to work properly.
Cheers!
The text was updated successfully, but these errors were encountered:
Yes it is possible!
I've implemented such an feature just today. You can lock the component so it wont be draggable longer. You can also resize it if needed :D
Sorry, something went wrong.
How did you lock the component from dragging? :drag="disabled" :draggable="isMovable"
Still dragging... I am going to implement according to user interaction, like enable drag after that drag, or disable drag.
I also need to know how I can lock the component from dragging. I try :disabled, : draggable, but nothing works.
Thanks in advance
No branches or pull requests
Hi,
Just wondering if it's possible to dynamically disable v-drag?
The use-case is a component, which has a
draggable
prop which either enables or disables v-drag on the component.I looked setting the attribute dynamically, but couldn't make it to work properly.
Cheers!
The text was updated successfully, but these errors were encountered: