Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

How can i get the current index ? #46

Open
ajonno opened this issue May 11, 2017 · 2 comments
Open

How can i get the current index ? #46

ajonno opened this issue May 11, 2017 · 2 comments

Comments

@ajonno
Copy link

ajonno commented May 11, 2017

hi there, is there a way that i can know which slide the user is currently on ? eg. if 2 photos, and they swipe to the second photo, i'd like to know that "index = 1" ?

@halilb
Copy link
Owner

halilb commented May 11, 2017

Hi @ajonno,

I don't think there is a way to know that with the current API. We may add a onMediaDisplayed prop to the API. I can look into this when I have some free time next ~15 days. PR is also welcomed :)

@rongxiangcai
Copy link

hi,brother,when will you solve this problem.i am a chinese,my english is poor

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

No branches or pull requests

3 participants