Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds onSwipeCancel #78

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Adds onSwipeCancel #78

wants to merge 1 commit into from

Conversation

zischwartz
Copy link

This addresses this case where it's useful to differentiate between the end of a successful swipe and a swipe that didn't meet the thresholds and led to the card being reset. To do this it adds an onSwipeCancel method that works like onSwipeEnd except it only fires in the latter case.

@gayatrisss
Copy link

Any update on this PR? I'm interested in this functionality as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants