Swiper – SlideTo
-
Hi,
the 5.x brings a new slider (Swiper) lib to Gutenslider.
Somehow I don’t get how I can interact with the new lib to programmatically slide to the next slide.With Slick you could do something like this:
jQuery(‘.wp-block-eedee-block-gutenslider .slick-slider’).slick(‘slickGoTo’, slideNum);For Swiper it should be:
swiper.slideTo(index, speed, runCallbacks)But the swiper object / lib is not available and I was unable to get the right const from your source files.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Swiper – SlideTo’ is closed to new replies.