aboutsummaryrefslogtreecommitdiff
path: root/docs/javascript.html
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-01-21 23:02:29 -0800
committerJacob Thornton <[email protected]>2012-01-21 23:02:29 -0800
commit373a54187ed5d1f5d00d725e6ef6b84d506f07a8 (patch)
tree728bb7554752c2b66953ad30ef6326e7cefe61d6 /docs/javascript.html
parent6e490628d1be1a165d95ecf9817fdc7070069947 (diff)
downloadbootstrap-373a54187ed5d1f5d00d725e6ef6b84d506f07a8.tar.xz
bootstrap-373a54187ed5d1f5d00d725e6ef6b84d506f07a8.zip
add ability to cycle carousel to a particular frame
Diffstat (limited to 'docs/javascript.html')
-rw-r--r--docs/javascript.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/javascript.html b/docs/javascript.html
index 1b8af662a..7f589de4c 100644
--- a/docs/javascript.html
+++ b/docs/javascript.html
@@ -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>