Change Carousel views(activePane) from script


I want to change the Carousel view(active pane) from a script and not use arrow or dots options.
I try to do it by writing the active pane property and it works but the animation is not working with this method. (The only reason I use Carousel is for the animation.
Does anyone know how to do it?


Hi nader.chinichian,

I am not exactly sure what you mean by "it works but the animation is not working". Could you post a screen recording?

Hi @Gurjot_Sandhu

I use a button to change activePane of Carousel to change view but the slide animation doesn't work.


1 Like