How to launch a hidden slider when navigating to it by tabs?

  • 0
    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

  • 1 Answers
  • 0

    And on the page: ctrl + f = & gt; init

    var mySwiper = new Swiper('.swiper-container', {
    speed: 400,
    spaceBetween: 100

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!