I have a requirement to start a carousel to start with a dynamic index, not from 0. Do we have any npm package, support for Angular 4 or above .
@ngu/carousel is already use, myCarousel.moveTo() doesn't seem to work for this senario
I have a requirement to start a carousel to start with a dynamic index, not from 0. Do we have any npm package, support for Angular 4 or above .
@ngu/carousel is already use, myCarousel.moveTo() doesn't seem to work for this senario
Copyright © 2021 Jogjafile Inc.
You can just randomize your primary Array (the array with images), that way each new view of the page will see a different sequence in your carousel
relevant HTML:
relevant TS:
check a working stackblitz here