swiper

Open full view…

Scroll to top and bottom of a slide in freeMode

Andrea Forni
Thu, 18 Jun 2015 15:41:56 GMT

Hi, I have a swiper with a single slide higher than window containing it. I'm using the swiper in freeMode to scroll it. Is there a way to scroll to the top and to the bottom in a programmatically way? Thank you,

Vladimir Kharlampidi
Thu, 18 Jun 2015 21:24:36 GMT

You need to use .setWrapperTranslate method and pass there required position

Andrea Forni
Fri, 19 Jun 2015 10:42:03 GMT

Ok! Thank you Vladimir!