I wanted to add buttons to pause and resume autoplay of vue3-carousel.
So I tried to change the value of 'autoplay' dynamically and when I set the value to 0 (number zero) it started looping through slides very fast instead of stopping autoplay.
Is there any proper way to pause and resume autoplay?
I wanted to add buttons to pause and resume autoplay of vue3-carousel. So I tried to change the value of 'autoplay' dynamically and when I set the value to 0 (number zero) it started looping through slides very fast instead of stopping autoplay. Is there any proper way to pause and resume autoplay?
Thanks in advance!