12345678910 |
- export default function slideToLoop(index = 0, speed = this.params.speed, runCallbacks = true, internal) {
- const swiper = this;
- let newIndex = index;
- if (swiper.params.loop) {
- newIndex += swiper.loopedSlides;
- }
- return swiper.slideTo(newIndex, speed, runCallbacks, internal);
- }
|