I have a Bootstrap 4 carousel and I need to move 4 slides each time. I’m using this code, and it works:
$(this).carousel(4)
The problem is that the carousel just jumps to that index and does not transition. If I use this, then it works and transitions correctly:
$(this).carousel("next");
or
$(this).carousel("prev");
I tried use something like this but it does not work.
$(this).carousel("next")
$(this).carousel("next")
Any help will be appreciated.