vueuse / gesture

🕹 Vue Composables making your app interactive
https://gesture.vueuse.org
MIT License
353 stars 18 forks source link

feat(Controller): reset state method #19

Closed fiadone closed 7 months ago

fiadone commented 1 year ago

It allows to invalidate the current state so the next interaction won't be affected by the previous ones. It's particularly useful when, for instance, you have a carousel or a tab view containing interactable-by-gesture elements you want to be reset on slide/tab change.

snmabaur commented 1 year ago

This would be a reall helpful method... will it be merged at some point? Thx