Hi,
I'm trying to implement carousel functionality to dynamically start and stop the slide , onclick of play and pause icons.
The issue I'm facing is I'm not able to play the carousel slide from where I have paused it.
I'm using a javascript code on OnReady of that screen , which uses CarouselwidgetId and the pause boolean variable which tells the state of Icons onclick
var carouselContainer= document.getElementById($parameters.CarouselWidget);
if($parameters.pause){
pauseCarousel();
}
else{
resumeCarousel();
function pauseCarousel()
{
$actions.CarouselController(true);
function resumeCarousel()
$actions.CarouselController(false);
Can anyone help me on this?
Hi there,
Have you checked this workaround? It solves that problem =)
https://www.outsystems.com/forums/discussion/90135/carousel-play-and-pause-button/#Post384523
If you have any questions concerning it, feel free to reach out.
Kind Regards,
João
Hi Sneha,
You can find the alternate solution that I proposed in the same post: carousel-play-and-pause-button
I hope this helps you!
Kind regards,
Benjith Sam
Thank you!