From 3f19870b29635cfd781501b931e72410b5d24e6f Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Mon, 28 Dec 2020 23:16:38 +0000 Subject: [PATCH] Add data-interval to suppress autoplay --- site/content/docs/4.5/components/carousel.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/content/docs/4.5/components/carousel.md b/site/content/docs/4.5/components/carousel.md index 448d194a8068..32f1af38ce04 100644 --- a/site/content/docs/4.5/components/carousel.md +++ b/site/content/docs/4.5/components/carousel.md @@ -210,10 +210,10 @@ Add `data-interval=""` to a `.carousel-item` to change the amount of time to del ### Suppressing touch swiping -By default, carousels support swiping left/right on touchscreen devices to move between slides. This can be explicitly suppressed using the `data-touch` attribute. The example below also does not include the `data-ride`, meaning that it won't autoplay. +By default, carousels support swiping left/right on touchscreen devices to move between slides. This can be explicitly suppressed using the `data-touch` attribute. The example below also does not include the `data-ride`, and has `data-interval="false"`, meaning that it won't autoplay. {{< example >}} -