baianat / hooper

🎠 A customizable accessible carousel slider optimized for Vue
https://baianat.github.io/hooper/
MIT License
720 stars 131 forks source link

Dis/enable dragging function #180

Closed kueiapp closed 4 years ago

kueiapp commented 4 years ago

Is it possible to lock/unlock vue hooper’s mouseDrag or touchDrag properties after initialization? For some features, I want to dis/enable dragging function when users click on a button. It seems no method to modify the property, and if I mutate the property directly, it will throw out an error to say not to modify the prop directly.