]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Alphabetized carousel options & added "ride" to it 19887/head
authorRyan Burnett <ryaburne@fabric.com>
Thu, 12 May 2016 13:40:23 +0000 (09:40 -0400)
committerRyan Burnett <ryaburne@fabric.com>
Thu, 12 May 2016 13:40:23 +0000 (09:40 -0400)
docs/components/carousel.md

index 76278281e5f7e181528abb64250554415115e1ea..e825fcaac3c2c264ca9fa477a2b2c1dbecf5374a 100644 (file)
@@ -156,6 +156,12 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
        <td>5000</td>
        <td>The amount of time to delay between automatically cycling an item. If false, carousel will not automatically cycle.</td>
      </tr>
+     <tr>
+       <td>keyboard</td>
+       <td>boolean</td>
+       <td>true</td>
+       <td>Whether the carousel should react to keyboard events.</td>
+     </tr>
      <tr>
        <td>pause</td>
        <td>string</td>
@@ -163,16 +169,16 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
        <td>Pauses the cycling of the carousel on mouseenter and resumes the cycling of the carousel on mouseleave.</td>
      </tr>
      <tr>
-       <td>wrap</td>
-       <td>boolean</td>
-       <td>true</td>
-       <td>Whether the carousel should cycle continuously or have hard stops.</td>
+       <td>ride</td>
+       <td>string</td>
+       <td>false</td>
+       <td>Autoplays the carousel after the user manually cycles the first item. If "carousel", autoplays the carousel on load.</td>
      </tr>
      <tr>
-       <td>keyboard</td>
+       <td>wrap</td>
        <td>boolean</td>
        <td>true</td>
-       <td>Whether the carousel should react to keyboard events.</td>
+       <td>Whether the carousel should cycle continuously or have hard stops.</td>
      </tr>
     </tbody>
   </table>