Carousel option is not working when set with object syntax
See original GitHub issueI need to use cycle and pause to false. Thus, trying the following code din’t continue the cycle on hover of carousel item:
.carousel({cycle: true, pause: false})
But using single option works:
.carousel('pause')
I’m using v4.0.0.
So, how can we use the cycle and set off the pause on hover behavior?
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Pure JS Carousel bug - javascript - Stack Overflow
The problem is that it won't work without one very strange (to me) crutch. It's marked in the code(line 28). Seems like something...
Read more >Carousel - Bootstrap
The carousel is a slideshow for cycling through a series of content, built with CSS 3D transforms and a bit of JavaScript. It...
Read more >Options | Owl Carousel | 2.3.4 - GitHub Pages
responsive. Type: Object Default: empty object. Object containing responsive options. Can be set to false to remove responsive capabilities.
Read more >Bootstrap JS Carousel Reference - W3Schools
Carousel Options ; pause, string, or the boolean false, "hover", Pauses the carousel from going through the next slide when the mouse pointer...
Read more >CSS-Only Carousel - CSS-Tricks
CSS-Only Carousel · Setting some boxes in a horizontal row with CSS Flexbox is easy. · Showing only one box at a time...
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

yep that’s the normal behavior, your first line init a new carousel instance, the second line call our
pausemethod,So you should do:
It will begin to cycle but on hover over the item should not pause. Which is not working with the applied options. Only cycle is working not pause.
Thank you for your great effort. Please leave it closed otherwise.