Proper now I’ve an Elementor picture carousel slider, which I’ve custom-made to my liking. I’ve added customized icons, with customized placement, that ought to transfer the slides forwards and backwards on icon click on. I do know Elementor makes use of Swiper, however I’m nonetheless struggiling to get the icons to maneuver. I’m initiating the swiper occasion, however can not get the icons to by some means transfer the slides forwards and backwards.
var sliderInstance = doc.querySelector('#image-car .swiper-container').swiper;
$('#arr-next').on('click on', operate() {
sliderInstance.slideTo(2)
});
Any concepts, the right way to choose the icons and make them transfer the slider?