aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/js/tabs.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/tabs.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/tabs.html')
-rw-r--r--docs/_includes/js/tabs.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/_includes/js/tabs.html b/docs/_includes/js/tabs.html
index 69f0cc45f..9de511b9a 100644
--- a/docs/_includes/js/tabs.html
+++ b/docs/_includes/js/tabs.html
@@ -91,7 +91,7 @@ $('#myTab li:eq(2) a').tab('show') // Select third tab (0-indexed)
</div>
{% endhighlight %}
- <h3>Methods</h3>
+ <h3 id="tabs-methods">Methods</h3>
<h4>$().tab</h4>
<p>
Activates a tab element and content container. Tab should have either a <code>data-target</code> or an <code>href</code> targeting a container node in the DOM.
@@ -118,7 +118,7 @@ $('#myTab li:eq(2) a').tab('show') // Select third tab (0-indexed)
</script>
{% endhighlight %}
- <h3>Events</h3>
+ <h3 id="tabs-events">Events</h3>
<p>When showing a new tab, the events fire in the following order:</p>
<ol>
<li><code>hide.bs.tab</code> (on the current active tab)</li>