Open full view…

Swiper Slide Pagination doesn't work

Tue, 10 Jan 2017 17:10:25 GMT

I have the following code <div class="swiper-container swiper-init" data-speed="400" data-space-between="40"> <div class="swiper-wrapper"> <div class="swiper-slide">content</div> <div class="swiper-slide">content</div> </div> <div class="swiper-pagination"></div> </div> I initialized the pagination at myApp.js, but it doesn't work. Any ideas?

Kerry D
Tue, 10 Jan 2017 19:27:01 GMT

Can you post your Javascript code?

Wed, 11 Jan 2017 13:45:36 GMT

var myApp = new Framework7({ animateNavBackIcon: true }); var mySwiper = myApp.swiper('.swiper-container',{ pagination:'.swiper-pagination' });