Can’t access swiper js instance of a glider
-
Can’t access swiper js instance of a glider. I have been using the following code to manipulate settings of swiper that are not accessible via the UI in Elementor.
const imageCarousel = jQuery ( ‘.mobileslider .swiper-container-horizontal’ ),
swiperInstance = imageCarousel.data( ‘swiper’ );I would need to make it work also for the glider. for some reason I get undefined for the second line. I don’t understand why since I am getting the right element – if i run it in the console I can see this element has the swiper properties.
Thanks for help! Love the plugin btw.
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Can’t access swiper js instance of a glider’ is closed to new replies.