2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

Add keyboard option to carousel

Also adds unit tests for keyboard events.

Fixes #14468.
This commit is contained in:
Heinrich Fenkart
2014-09-10 22:55:33 +02:00
parent e7b5c4c18b
commit 038a63b0eb
3 changed files with 90 additions and 2 deletions
+6
View File
@@ -178,6 +178,12 @@ $('.carousel').carousel()
<td>true</td>
<td>Whether the carousel should cycle continuously or have hard stops.</td>
</tr>
<tr>
<td>keyboard</td>
<td>boolean</td>
<td>true</td>
<td>Whether the carousel should react to keyboard events.</td>
</tr>
</tbody>
</table>
</div><!-- /.table-responsive -->