diff options
| author | Patrick H. Lauke <[email protected]> | 2021-01-06 00:59:44 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-01-06 00:59:44 +0000 |
| commit | d1a62b47c38d2098577894e9b6340514af07754b (patch) | |
| tree | 44898538fc8634fe824a7ad54311282be49acda5 | |
| parent | 88d35b725bb29a53770d89a6e89fd416f2314ceb (diff) | |
| download | bootstrap-d1a62b47c38d2098577894e9b6340514af07754b.tar.xz bootstrap-d1a62b47c38d2098577894e9b6340514af07754b.zip | |
Tweak wording for no-touch carousel (#32688)
based on changes made in the backport https://github.com/twbs/bootstrap/pull/32639
| -rw-r--r-- | site/content/docs/5.0/components/carousel.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/site/content/docs/5.0/components/carousel.md b/site/content/docs/5.0/components/carousel.md index 6aa9f614f..49bb0f9bf 100644 --- a/site/content/docs/5.0/components/carousel.md +++ b/site/content/docs/5.0/components/carousel.md @@ -206,9 +206,9 @@ Add `data-bs-interval=""` to a `.carousel-item` to change the amount of time to </div> {{< /example >}} -### Suppressing touch swiping +### Disable touch swiping -By default, carousels support swiping left/right on touchscreen devices to move between slides. This can be explicitly suppressed using the `data-bs-touch` attribute. The example below also does not include the `data-bs-ride` attribute, and has `data-bs-interval="false"`, meaning that it won't autoplay. +Carousels support swiping left/right on touchscreen devices to move between slides. This can be disabled using the `data-bs-touch` attribute. The example below also does not include the `data-bs-ride` attribute and has `data-bs-interval="false"` so it doesn't autoplay. {{< example >}} <div id="carouselExampleControlsNoTouching" class="carousel slide" data-bs-touch="false" data-bs-interval="false"> |
