be-fe / iSlider

Smooth mobile touch slider for Mobile WebApp, HTML5 App, Hybrid App
http://be-fe.github.io/iSlider/
MIT License
1.66k stars 448 forks source link

slideIndex variable #443

Open wildhunter-66 opened 6 years ago

wildhunter-66 commented 6 years ago

Hi, How can I use or access slideIndex variable, I'm using twoo isliders and I need the index of the first to populate the second. Thanks.

shinate commented 6 years ago

http://eux.baidu.com/iSlider/demo/#demo see the demo swop, multiple instance linkage. If that can't meet your needs, you can use the event such as slideChange(d) or slideRestore(d), the first parameter is index