Confusion on the "nextWhenVisible()" method on Carousel Component
Created by: JudgedPluto
Hi 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