I am using framework7 to build the mobile app, and swiper-slide layout structure. I wanted to second tab to active in 3 tabs structure. But when I use below code another swiper animations are getting affecting. I used below swiper code to make second tab active. Please, can someone help to fix this issue.
var mySwiper = new Swiper('.swiper-container', {
initialSlide: 2,
speed: 600,
spaceBetween: 100
});
I think you can add the class
swiper-slide-activeto the slide to make it appear first, i'm sorry i'm not sure, but why not jumping to the desired slide on page load?Run transition to the slide with index number equal to 'index' parameter for the duration equal to 'speed' parameter.
More here in the methods section: http://idangero.us/swiper/api/#parameters