Issue description: I am using the All-In-One Reviews Widget and I’m trying to do some javascript action on widget loaded and everytime it update → slide. Is there an event name i can listen ? My custom_js is down below.
widget.on('init', () => {
// Code that will be executed when the widget loads
const swiper = util.findElement('.swiper')?.swiper;
if (!swiper) return;
swiper.on('slideChange', () => {
// Code that will be executed when the slide changes
});
});
Feel free to adjust it to your specific case and add it to the Custom JS field on the Settings tab of your widget’s settings.