From d36c150569c982a24935bfc90e77e7a59986497b Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 6 May 2014 11:34:46 -0700 Subject: [PATCH] tweak formatting in Carousel docs for clarity; fixes #13522 --- docs/_includes/js/carousel.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_includes/js/carousel.html b/docs/_includes/js/carousel.html index 2b5b0111b1..fa7476b686 100644 --- a/docs/_includes/js/carousel.html +++ b/docs/_includes/js/carousel.html @@ -128,7 +128,7 @@

Multiple carousels

-

Carousels require the use of an id on the outermost container, .carousel, for carousel controls to function properly. When adding multiple carousels, or when changing a carousel's id, be sure to update the relevant controls.

+

Carousels require the use of an id on the outermost container (the .carousel) for carousel controls to function properly. When adding multiple carousels, or when changing a carousel's id, be sure to update the relevant controls.

Via data attributes

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.

-- 2.47.2