aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/js/carousel.html
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-11-11 21:16:34 -0800
committerChris Rebert <[email protected]>2014-11-11 21:16:34 -0800
commit1211a8155e9357ddd747f7ecba800e460e72465d (patch)
tree73e6611c87861b86ebb4741eca85d2a7de8afa8f /docs/_includes/js/carousel.html
parentff386147ce341a15f02b31f638500487246e34da (diff)
downloadbootstrap-1211a8155e9357ddd747f7ecba800e460e72465d.tar.xz
bootstrap-1211a8155e9357ddd747f7ecba800e460e72465d.zip
JS docs: add Options, Methods, Events subsections to nav sidebar
Diffstat (limited to 'docs/_includes/js/carousel.html')
-rw-r--r--docs/_includes/js/carousel.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/_includes/js/carousel.html b/docs/_includes/js/carousel.html
index c0afcdd5c..02d01bc3c 100644
--- a/docs/_includes/js/carousel.html
+++ b/docs/_includes/js/carousel.html
@@ -152,7 +152,7 @@
$('.carousel').carousel()
{% endhighlight %}
- <h3>Options</h3>
+ <h3 id="carousel-options">Options</h3>
<p>Options can be passed via data attributes or JavaScript. For data attributes, append the option name to <code>data-</code>, as in <code>data-interval=""</code>.</p>
<div class="table-responsive">
<table class="table table-bordered table-striped">
@@ -193,7 +193,7 @@ $('.carousel').carousel()
</table>
</div><!-- /.table-responsive -->
- <h3>Methods</h3>
+ <h3 id="carousel-methods">Methods</h3>
<h4>.carousel(options)</h4>
<p>Initializes the carousel with an optional options <code>object</code> and starts cycling through items.</p>
@@ -219,7 +219,7 @@ $('.carousel').carousel({
<h4>.carousel('next')</h4>
<p>Cycles to the next item.</p>
- <h3>Events</h3>
+ <h3 id="carousel-events">Events</h3>
<p>Bootstrap's carousel class exposes two events for hooking into carousel functionality.</p>
<p>Both events have the following additional properties:</p>
<ul>