swiper

Open full view…

Pagination in numbers - <x> out of <y>

roy650
Wed, 06 May 2015 07:04:53 GMT

Follow up on my previous question (regarding overflow in pagination) - While pagination works in bullets (or specific numbers as in the example in the API), it fails to handle a large number of slides properly. So the question is: Is it possible to define the pagination as a current index of the slide number out of the total number of slides. The format should be static but the current index should change: <X> out of <Y> Thanks!

Vladimir Kharlampidi
Fri, 08 May 2015 09:23:27 GMT

In this case you'll need to use custom solution based on callbacks where you need to generate such "x of y" string where x will be `swiper.activeIndex` and y will be the number of slides