From 07474841881f25b2686d50070902f341370b9d4c Mon Sep 17 00:00:00 2001 From: Ryan Burnett Date: Thu, 12 May 2016 09:40:23 -0400 Subject: Alphabetized carousel options & added "ride" to it --- docs/components/carousel.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'docs/components/carousel.md') diff --git a/docs/components/carousel.md b/docs/components/carousel.md index 76278281e..e825fcaac 100644 --- a/docs/components/carousel.md +++ b/docs/components/carousel.md @@ -156,6 +156,12 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap 5000 The amount of time to delay between automatically cycling an item. If false, carousel will not automatically cycle. + + keyboard + boolean + true + Whether the carousel should react to keyboard events. + pause string @@ -163,16 +169,16 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap Pauses the cycling of the carousel on mouseenter and resumes the cycling of the carousel on mouseleave. - wrap - boolean - true - Whether the carousel should cycle continuously or have hard stops. + ride + string + false + Autoplays the carousel after the user manually cycles the first item. If "carousel", autoplays the carousel on load. - keyboard + wrap boolean true - Whether the carousel should react to keyboard events. + Whether the carousel should cycle continuously or have hard stops. -- cgit v1.2.3 From 8ed7ebcd6344943edf68fd6d8a159190eb105a34 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 27 Oct 2016 09:19:07 -0700 Subject: fixes #18565: mention carousel sizing in docs --- docs/components/carousel.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/components/carousel.md') diff --git a/docs/components/carousel.md b/docs/components/carousel.md index 64b012b0e..1e8d40113 100644 --- a/docs/components/carousel.md +++ b/docs/components/carousel.md @@ -14,6 +14,8 @@ A slideshow component for cycling through elements—images or slides of text— ## Example +When building carousels, be sure your slides are the same size as one another. The carousel doesn't automatically crop images to the same dimensions for you across slides. + {% example html %} - - + + Previous - - + + Next -- cgit v1.2.3 From 4ef547f4bb3d48a2ee17ccdb9c913e1f4f9c7fe3 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 4 Dec 2016 23:19:54 -0800 Subject: drop the .carousel-control base class --- docs/components/carousel.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/components/carousel.md') diff --git a/docs/components/carousel.md b/docs/components/carousel.md index 6bcd8f796..8dd819fba 100644 --- a/docs/components/carousel.md +++ b/docs/components/carousel.md @@ -59,11 +59,11 @@ Adding in the previous and next controls: Third slide - + Previous - + Next @@ -92,11 +92,11 @@ You can also add the indicators to the carousel, alongside the controls, too. Third slide - + Previous - + Next -- cgit v1.2.3