Jump to content

Add an option to control the JS Carousel slideshow timer

Go to solution Solved by Daniel F,

Recommended Posts

Currently using the Carousel module there is an option to start a slideshow using data-ipsCarousel-slideshow but the timer itself is hardcoded to 4 seconds in the javascript file \dev\js\framework\common\ui\ips.ui.carousel.js:

var slideshowTimeout = 4000;

Since this is a module there's no way to create a mixin for it as it's only for controllers. (Or is it possible to use a mixin on a module? Even if it is, because of the place the timer is in, there's no way to override its value though.)


Can you add support for overriding the timer with a new option like this one?



Edited by teraßyte
Link to comment
Share on other sites

  • 3 weeks later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...