diff options
| author | Ankit Mishra <[email protected]> | 2020-10-05 18:19:02 +0530 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-10-05 15:49:02 +0300 |
| commit | ce1db01af07588be7c04b967459249df69d02464 (patch) | |
| tree | acc511a8a11ffe2b8bebfb38a300cdb8188425ad | |
| parent | e4be0640eed2c98a8f0e1db3baa8c35a3de957ab (diff) | |
| download | bootstrap-ce1db01af07588be7c04b967459249df69d02464.tar.xz bootstrap-ce1db01af07588be7c04b967459249df69d02464.zip | |
carousel: add missing `to` description and fix `nextwhenvisible` description (#31809)
| -rw-r--r-- | site/content/docs/5.0/components/carousel.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/site/content/docs/5.0/components/carousel.md b/site/content/docs/5.0/components/carousel.md index 1ef205549..c478cbfad 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, { </tr> <tr> <td><code>nextWhenVisible</code></td> + <td>Don't cycle carousel to next when the page isn't visible or the carousel or its parent isn't visible. <strong>Returns to the caller before the target item has been shown</strong> + </tr> + <tr> + <td><code>to</code></td> <td>Cycles the carousel to a particular frame (0 based, similar to an array). <strong>Returns to the caller before the target item has been shown</strong> (e.g., before the <code>slid.bs.carousel</code> event occurs).</td> </tr> <tr> |
