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 7bf868a709d5e278048f7fe5fd62d2fa9365d5bc Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 2 Oct 2016 18:19:47 -0700 Subject: v4: Social meta tags (#20825) * descriptions for getting started pages * descriptions for layout * add content page descriptions * more descriptions, updates to some existing ones * correct site url * add social stuff to config for twitter cards * add twitter meta tags; use large image for homepage and regular card for all others * add the assets * more site config * more social shiz to partial, remove existing meta for the partial, remove page title from homepage for simpler if statements --- docs/components/carousel.md | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/components/carousel.md') diff --git a/docs/components/carousel.md b/docs/components/carousel.md index 5f177432f..5bc299774 100644 --- a/docs/components/carousel.md +++ b/docs/components/carousel.md @@ -1,6 +1,7 @@ --- layout: docs title: Carousel +description: A slideshow component for cycling through elements—images or slides of text—like a carousel. group: components --- -- cgit v1.2.3 From 2e69dfa8c1679238579ef6f5ec85deb755e4fb6d Mon Sep 17 00:00:00 2001 From: Bardi Harborow Date: Tue, 4 Oct 2016 02:55:59 +1000 Subject: Fix broken/redirected links, moving to HTTPS where possible. (#20557) --- docs/components/carousel.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/components/carousel.md') diff --git a/docs/components/carousel.md b/docs/components/carousel.md index 5bc299774..64b012b0e 100644 --- a/docs/components/carousel.md +++ b/docs/components/carousel.md @@ -5,7 +5,7 @@ description: A slideshow component for cycling through elements—images or slid group: components --- -A slideshow component for cycling through elements—images or slides of text—like a carousel. In browsers where the [Page Visibility API](http://www.w3.org/TR/page-visibility/) is supported, the carousel will avoid sliding when the webpage is not visible to the user (such as when the browser tab is inactive, the browser window is minimized, etc.). **Nested carousels are not supported.** +A slideshow component for cycling through elements—images or slides of text—like a carousel. In browsers where the [Page Visibility API](https://www.w3.org/TR/page-visibility/) is supported, the carousel will avoid sliding when the webpage is not visible to the user (such as when the browser tab is inactive, the browser window is minimized, etc.). **Nested carousels are not supported.** ## Contents -- 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