aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/js/carousel.html
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-11-12 10:06:07 -0800
committerChris Rebert <[email protected]>2014-11-12 10:06:07 -0800
commit84dcd226df93e604e7e9aa34692744d630250920 (patch)
treef0da2579c9934b08941e6321ca6e7fa1d0a72319 /docs/_includes/js/carousel.html
parent9a7e365c2c4360335d25246dac11afb1f577210a (diff)
parent1211a8155e9357ddd747f7ecba800e460e72465d (diff)
downloadbootstrap-84dcd226df93e604e7e9aa34692744d630250920.tar.xz
bootstrap-84dcd226df93e604e7e9aa34692744d630250920.zip
Merge pull request #15094 from twbs/js-navs
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>