From: Mark Otto Date: Fri, 28 Oct 2016 05:21:06 +0000 (-0700) Subject: Merge pull request #19887 from ryanburnett/v4-dev X-Git-Tag: v4.0.0-alpha.6~472 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63a524b352c1974c3e4ba85c46569547cbe9bb64;p=thirdparty%2Fbootstrap.git Merge pull request #19887 from ryanburnett/v4-dev Alphabetized carousel options & added "ride" to it --- 63a524b352c1974c3e4ba85c46569547cbe9bb64 diff --cc docs/components/carousel.md index 1e8d40113c,e825fcaac3..3942309f0f --- a/docs/components/carousel.md +++ b/docs/components/carousel.md @@@ -159,23 -156,29 +159,29 @@@ Options can be passed via data attribut 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 + string | null "hover" - Pauses the cycling of the carousel on mouseenter and resumes the cycling of the carousel on mouseleave. + If set to "hover", pauses the cycling of the carousel on mouseenter and resumes the cycling of the carousel on mouseleave. If set to null, hovering over the carousel won't pause it. - 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.