FormidableLabs / FormidableLabs/react-swipeable

how can I fire an event for swipe start and swipe end?

Aperta
#327 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
2.1k
Fork
149
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I'm attempting to simulate a joystick behaviour using your library.

Expectation:
- A swipe and hold should fire the `onSwiping` event
- The continuous gesture of swiping should not be necessary

The solution I have in mind would be to fire an event when the swiping starts, and another when the touch is released.

What is your suggestion to achieve this behavior?
Thank you for your time 👍

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.