From ce1db01af07588be7c04b967459249df69d02464 Mon Sep 17 00:00:00 2001 From: Ankit Mishra Date: Mon, 5 Oct 2020 18:19:02 +0530 Subject: [PATCH] carousel: add missing `to` description and fix `nextwhenvisible` description (#31809) --- site/content/docs/5.0/components/carousel.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/site/content/docs/5.0/components/carousel.md b/site/content/docs/5.0/components/carousel.md index 1ef2055496a5..c478cbfadcf6 100644 --- a/site/content/docs/5.0/components/carousel.md +++ b/site/content/docs/5.0/components/carousel.md @@ -364,6 +364,10 @@ var carousel = new bootstrap.Carousel(myCarousel, { nextWhenVisible + Don't cycle carousel to next when the page isn't visible or the carousel or its parent isn't visible. Returns to the caller before the target item has been shown + + + to Cycles the carousel to a particular frame (0 based, similar to an array). Returns to the caller before the target item has been shown (e.g., before the slid.bs.carousel event occurs).