How to launch a hidden slider when navigating to it by tabs?
-
There are 4 swiper sliders, 3 of which are disabled via display none, as they are hidden by tabs.
How can I restart (make it active) a hidden slider via js when switching to it by tabs?
JavaScript Anonymous, Oct 1, 2020 -
https://swiperjs.com/api/
And on the page: ctrl + f = & gt; init
var mySwiper = new Swiper('.swiper-container', {
speed: 400,
spaceBetween: 100
});Anonymous
1 Answers
Your Answer
To place the code, please use CodePen or similar tool. Thanks you!