Pause/Play Carousel
See original GitHub issue- I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
The Carousel component does not seem to provide any means to pause or play the slideshow. Slick has slickPause()
and slickPlay()
methods. It’d be great if we could access those.
What does the proposed API look like?
Providing pause()
and play()
methods should solve this. I also tried working around this with the autoplay
prop. It doesn’t resume the animation when set back to true
.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Carousels - Access & Use
Carousels consist of a circular arrangement of sections (or slides) that ... Make sure the pause / play buttons have an accessible name...
Read more >Add pause/play functionality on carousel - Stack Overflow
Try this example if you want to pause using a button. In this case the only problem is that button has to be...
Read more >Making image carousel with pause/play button
Hello guys the following tutorial describes how to make workable image carousel, with the ability to pause and continue image sliding.
Read more >Pause / play button | WordPress.org
Hello everyone, I'm trying to find out how to add a pause/play button to the Anything ... Have a look at the Owl...
Read more >Carousel - eBay MIND Patterns - GitBook
Last update: Nov 4th, 2022. Discrete carousel containing 5 items per slide. ... Pause/Play button, if the carousel can auto-progress. 2. Previous button....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Try
this.slider.innerSlider.slickPause()
.According my package.json i’m using this version “antd”: “^4.6.4” and ref.current.innerSlider.autoplay() returns “is not a fuction” but when I print it there’s the function. The solution that worked for me was ref.current.slick.slickPlay() and ref.current.slick.slickPause()