Is it possible to access either or JS instances?
Hi @mizzinc ,
Thomas had posted this comment on a similar question on FB some time back. I hope this helps
Bricks actually provides all swiper & splide instances on the frontend out-of-the-box via “bricksData.swiperInstances” & “bricksData.splideInstances” !
So if want to programmatically go to splide index 1, and your element ID is “qkfwyn” then you’d run:
bricksData.splideInstances.qkfwyn.go(1)
5 Likes
Very helpful, thank you.
I’m not a coder, but maybe this link could help you: