You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 10, 2020. It is now read-only.
Like/Dislike card with a onSwipeLeft/onSwipeRight currently is ok.
But I want to Like/Dislike card with separate buttons (like a Tinder).
E.g:
When I click the "Like Button" I need the card triggers the onSwipeRight.
When I click the "Dislike Button" I need the card triggers the onSwipeLeft.
How can I do it?
Could I trigger the onSwipeLeft/onSwipeRight with a click event?
Thanks!
The text was updated successfully, but these errors were encountered:
In my example, I put the current swiper into a parent's state using a method I've defined, setCurrentSwiperRef (I use multiple swipers in the same page as people advance)
Hi!
Like/Dislike card with a onSwipeLeft/onSwipeRight currently is ok.
But I want to Like/Dislike card with separate buttons (like a Tinder).
E.g:
When I click the "Like Button" I need the card triggers the onSwipeRight.
When I click the "Dislike Button" I need the card triggers the onSwipeLeft.
How can I do it?
Could I trigger the onSwipeLeft/onSwipeRight with a click event?
Thanks!
The text was updated successfully, but these errors were encountered: