Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}, loopIndex === queue.posIndex);
if (result && result.element) {
transitionProps.push({
easing,
...result,
duration
});
}
}
});
}
});
this.slideAnimate = animate({
forceTransition: true,
props: [{
element: wrap,
property: vertical ? 'transform.translateY' : 'transform.translateX',
easing,
duration: Math.max(this.props.isSlideEnabled ? duration : 0, MIN_DURATION),
end: offset,
}, ...transitionProps]
}, (e) => {
this.curIndex = index;
if (!options.ignoreEvent) {
this.handleLoadMore({index, params, prevIndex, duration, easing, isInitial: options.isInitial});
afterSwitch({index, loopIndex, prevLoopIndex, params, prevIndex, duration, easing});
}
this.handleScreensDetroy();
this.resolveObserver();