You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
346 B
19 lines
346 B
import transitionEmit from './transitionEmit.js';
|
|
export default function transitionStart(runCallbacks = true, direction) {
|
|
const swiper = this;
|
|
const {
|
|
params
|
|
} = swiper;
|
|
if (params.cssMode) return;
|
|
|
|
if (params.autoHeight) {
|
|
swiper.updateAutoHeight();
|
|
}
|
|
|
|
transitionEmit({
|
|
swiper,
|
|
runCallbacks,
|
|
direction,
|
|
step: 'Start'
|
|
});
|
|
}
|
|
|