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

getting current slide index inside onPageChange function #20

Open
sir-gon opened this issue Oct 3, 2016 · 1 comment
Open

getting current slide index inside onPageChange function #20

sir-gon opened this issue Oct 3, 2016 · 1 comment

Comments

@sir-gon
Copy link

sir-gon commented Oct 3, 2016

How can I get current slide index from inside onPageChange function?

I'm building a "Tutorial Page" for my application, and I want to show/hide another elements in the first and last pages.

@michaelkitson
Copy link

In case anyone else stumbles across this issue wondering the same thing, onPageChange is called with the page number as the sole argument, as shown here.

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

No branches or pull requests

2 participants