Open vdomah opened 3 years ago
This should work:
https://github.com/robinrodricks/vue3-touch-events#simple-callback
Doesnt work for me either i have this in my template:
And this in my script:
methods: { handleSwipe(swipe) { console.log('Swipe Detected', swipe); }, handleTap(swipe) { console.log('Tap Detected', swipe); }, }
BUt is does not seem to be detecting any swipping neither the tapping
Hello! Can't get it working. First tried vue2 branch with no success, now same with vue3.
When I specify function name as in docs, nothing happens:
and when I add (), function fires right after component is mounted:
Please help