1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-26 23:04:32 +02:00

add ability to cycle carousel to a particular frame

This commit is contained in:
Jacob Thornton
2012-01-21 23:02:29 -08:00
parent 6e490628d1
commit 373a54187e
2 changed files with 29 additions and 5 deletions

View File

@@ -1323,6 +1323,8 @@ $('.myCarousel').carousel({
<p>Cycles through the carousel items from left to right.</p>
<h4>.carousel('pause')</h4>
<p>Stops the carousel from cycling through items.</p>
<h4>.carousel(number)</h4>
<p>Cycles the carousel to a particular frame (0 based, similar to an array).</p>
<h4>.carousel('prev')</h4>
<p>Cycles to the previous item.</p>
<h4>.carousel('next')</h4>