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

Undo the removed the card #127

Open
dhuma1981 opened this issue Mar 27, 2018 · 1 comment
Open

Undo the removed the card #127

dhuma1981 opened this issue Mar 27, 2018 · 1 comment

Comments

@dhuma1981
Copy link

Is there any method by which we can undo the removed card?

@jonathanRinciari
Copy link

_goToPrevCard()

which can be accessed by creating a ref on the SwiperCard component..
<SwiperCard ref={(swiper) => this.swiper = swiper}/>

Then you can do something like

<Button onPress={() => this.swiper._goToPrevCard()}/>

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

No branches or pull requests

2 participants