diff options
author | Johann-S <johann.servoire@gmail.com> | 2019-01-04 19:15:01 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2019-01-04 19:15:01 +0300 |
commit | 89a73f100e7a3c765314e5cff0eeaf9c051f2944 (patch) | |
tree | 7acd975e91e78372af7cb234e94a54056aa93a61 /site/docs | |
parent | d4b5b4b78c936f9a9d38d52ca5be1cbdee26ee54 (diff) |
carousel should not cycle when there is no data-ride on init (#27968)
Diffstat (limited to 'site/docs')
-rw-r--r-- | site/docs/4.2/components/carousel.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/site/docs/4.2/components/carousel.md b/site/docs/4.2/components/carousel.md index a0ff8c34f9..26c81b48d6 100644 --- a/site/docs/4.2/components/carousel.md +++ b/site/docs/4.2/components/carousel.md @@ -228,7 +228,7 @@ Add `data-interval=""` to a `.carousel-item` to change the amount of time to del Use data attributes to easily control the position of the carousel. `data-slide` accepts the keywords `prev` or `next`, which alters the slide position relative to its current position. Alternatively, use `data-slide-to` to pass a raw slide index to the carousel `data-slide-to="2"`, which shifts the slide position to a particular index beginning with `0`. -The `data-ride="carousel"` attribute is used to mark a carousel as animating starting at page load. **It cannot be used in combination with (redundant and unnecessary) explicit JavaScript initialization of the same carousel.** +The `data-ride="carousel"` attribute is used to mark a carousel as animating starting at page load. If you don't use `data-ride="carousel"` to initialize your carousel, you have to initialize it yourself. **It cannot be used in combination with (redundant and unnecessary) explicit JavaScript initialization of the same carousel.** ### Via JavaScript |