Confusion on the "nextWhenVisible()" method on Carousel Component
See original GitHub issueHi everyone, I am currently using bootstrap 5 and while browsing through documentation, I have found that in the carousel component documentation, carousel.prototype.nextWhenVisible()
function is not accurate with its description. Although carousel.prototype.to()
function seems to be matched with the description (which is not found in the carousel component documentation, but can be found in the code).
I think that the function has been mismatched with the description, that have led me to a confusion.
The section that I am referring to: https://v5.getbootstrap.com/docs/5.0/components/carousel/#methods
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Bootstrap Carousel Add Method next when visible
i have a carousel from bootstrap all setup - now i want it not to change when not visible, because i have different...
Read more >Best practices for carousels - web.dev
A carousel is a UX component that displays content in slideshow-like manner. Carousels can "autoplay" or be navigated manually by users.
Read more >How to build a more accessible carousel or slider
When a slide is not visible on the screen, it should be hidden from all users either using CSS (like display: none or...
Read more >Bootstrap carousel - CoreUI
Bootstrap carousel is a slideshow component for cycling through elements—images or slides of text—like a carousel.
Read more >Carousel · Boosted v5.0
A slideshow component for cycling through elements—images or slides of text—like a carousel.
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 FreeTop 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
Top GitHub Comments
There’s no need to ask for such things. Just grab an issue and submit a PR when ready.
I’m thinking we should add this statement somewhere…
Nice catch @JudgedPluto 👍
You’re right, the
to
method is missing andnextWhenVisible
description is wrong