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