aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes
diff options
context:
space:
mode:
authorHeinrich Fenkart <[email protected]>2014-09-10 22:55:33 +0200
committerHeinrich Fenkart <[email protected]>2014-10-03 05:16:31 +0200
commit038a63b0ebce276186fae93916703dd0e70ac4a1 (patch)
treee2ffb831a7914f8d0730a3152b429a008b85d62e /docs/_includes
parente7b5c4c18becb3af36e03157303490fbc32f5434 (diff)
downloadbootstrap-038a63b0ebce276186fae93916703dd0e70ac4a1.tar.xz
bootstrap-038a63b0ebce276186fae93916703dd0e70ac4a1.zip
Add `keyboard` option to carousel
Also adds unit tests for keyboard events. Fixes #14468.
Diffstat (limited to 'docs/_includes')
-rw-r--r--docs/_includes/js/carousel.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/_includes/js/carousel.html b/docs/_includes/js/carousel.html
index 23f9af97a..62adc09e6 100644
--- a/docs/_includes/js/carousel.html
+++ b/docs/_includes/js/carousel.html
@@ -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 -->