]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Merge pull request #19887 from ryanburnett/v4-dev
authorMark Otto <markd.otto@gmail.com>
Fri, 28 Oct 2016 05:21:06 +0000 (22:21 -0700)
committerGitHub <noreply@github.com>
Fri, 28 Oct 2016 05:21:06 +0000 (22:21 -0700)
Alphabetized carousel options & added "ride" to it

1  2 
docs/components/carousel.md

index 1e8d40113c97cae1d0005ef8cdca14ca7f95a92a,e825fcaac3c2c264ca9fa477a2b2c1dbecf5374a..3942309f0f5bfe0deefba6e8e5aa7fdabfba7866
@@@ -159,23 -156,29 +159,29 @@@ Options can be passed via data attribut
         <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>
 +       <td>string | null</td>
         <td>"hover"</td>
 -       <td>Pauses the cycling of the carousel on mouseenter and resumes the cycling of the carousel on mouseleave.</td>
 +       <td>If set to <code>"hover"</code>, pauses the cycling of the carousel on <code>mouseenter</code> and resumes the cycling of the carousel on <code>mouseleave</code>. If set to <code>null</code>, hovering over the carousel won't pause it.</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>