swiper
Version:
Most modern mobile touch slider and framework with hardware accelerated transitions
13 lines (11 loc) • 328 B
JavaScript
/* eslint no-unused-vars: "off" */
export default function slideReset(speed, runCallbacks, internal) {
if (speed === void 0) {
speed = this.params.speed;
}
if (runCallbacks === void 0) {
runCallbacks = true;
}
const swiper = this;
return swiper.slideTo(swiper.activeIndex, speed, runCallbacks, internal);
}