rodleviton / vue-card-stack

Stackable, swipeable, tweakable Vue card component.
https://rodleviton.github.io/vue-card-stack/
MIT License
78 stars 13 forks source link

feat(app) add dragEnabled prop #8

Open edanweis opened 3 years ago

edanweis commented 3 years ago

I'm submitting this PR because I needed a way to stop propagation of touch events from another component to the vue-card-stack. It was easier to add dragEnabled than to stop propagation in my child component (mercs600/vue2-perfect-scrollbar). More performant solution may be to add/remove listeners as needed?