Reputation: 2553
Hi I am using Swiper(Default) in my application. I want to know which div is currently visible. I tried this example but no use. I want to load data on div
which is currently visible.
Upvotes: 0
Views: 2400
Reputation: 4539
Check this may be help you
http://www.idangero.us/sliders/swiper/api.php
mySwiper.activeSlide - returns the index number of currently active slide. Deprecated! Use .activeIndex
mySwiper.activeIndex - returns the index number of currently active slide. New in 1.9.2
Upvotes: 1