Skip to Main Content
Feature Request FR-3159
Product Area Page Components
Status CLOSED

26 Voters

Carousel - Ability to Pause; Play via a button click.

jones.mp Public
· May 22 2023

Idea Summary
Carousel - Ability to Pause; Play via a button click.

Use Case
Adjust out the box Carousel so that have the ability to Pause on a given event.

Preferred Solution (Optional)
Whilst there are other options to load plugins that involve creating a new version of the Carousel. Editing the current one to allow for interaction so that the following can be instageted via an event (Click, MouseOver)

$('#carousel').carousel('pause');

$('#carousel').carousel('cycle');

//Change graphic of button
   mcb= $('#myCarouselButton');
   mcb.find('span').toggleClass('fa-pause fa-play');

We reviewed this idea carefully, and while it was interesting, we concluded that it is unlikely to make its way into APEX in the foreseeable future.

Comments

Comments

  • john.snyders APEX Team OP 2.1 years ago

    Anything with a timer needs to have play/pause functionality for proper accessibility. This is more general than just Carousel, but yes it is very important for Carousel. 

    I see many naive implementations of timers that just use setInterval. A proper implementation needs control over play/pause and awareness of the page state so it doesn't run when browser tab is not visible etc.

  • vincent morneau Admin OP 12 months ago

    Carousel definitely has a future in APEX where it can evolve. We are closing this for now as we can't prioritize Play/Pause functionality in the short term, but we may still consider it in the future when we work on the Carousel again.