Skip to content

Commit

Permalink
Merge pull request #19887 from ryanburnett/v4-dev
Browse files Browse the repository at this point in the history
Alphabetized carousel options & added "ride" to it
  • Loading branch information
mdo authored Oct 28, 2016
2 parents 2017807 + 0747484 commit 63a524b
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions docs/components/carousel.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,23 +159,29 @@ 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 | null</td>
<td>"hover"</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>
Expand Down

0 comments on commit 63a524b

Please sign in to comment.