From efb75c58e4e75b2fbf59a83af537fbf04a709630 Mon Sep 17 00:00:00 2001 From: Ankit Mishra Date: Thu, 1 Oct 2020 20:45:57 +0530 Subject: [PATCH 1/2] docs-Update corousel doc : nextwhenvisible and to --- 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 3222e06b977b..ef89e530ebce 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 if it's not available. 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). From 7c407911d593a5e2b59c638de3f23c1ef64f36b9 Mon Sep 17 00:00:00 2001 From: Ankit Mishra Date: Fri, 2 Oct 2020 14:38:56 +0530 Subject: [PATCH 2/2] Resolved Review Comments --- site/content/docs/5.0/components/carousel.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/docs/5.0/components/carousel.md b/site/content/docs/5.0/components/carousel.md index ef89e530ebce..9527e7f35042 100644 --- a/site/content/docs/5.0/components/carousel.md +++ b/site/content/docs/5.0/components/carousel.md @@ -364,7 +364,7 @@ var carousel = new bootstrap.Carousel(myCarousel, { nextWhenVisible - Don't cycle carousel to next if it's not available. Returns to the caller before the target item has been shown + 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