aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/js/scrollspy.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/scrollspy.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/scrollspy.html')
-rw-r--r--docs/_includes/js/scrollspy.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/_includes/js/scrollspy.html b/docs/_includes/js/scrollspy.html
index dc8900686..d58ddbe5a 100644
--- a/docs/_includes/js/scrollspy.html
+++ b/docs/_includes/js/scrollspy.html
@@ -93,7 +93,7 @@ $('body').scrollspy({ target: '.navbar-example' })
{% endhighlight %}
- <h3>Methods</h3>
+ <h3 id="scrollspy-methods">Methods</h3>
<h4>.scrollspy('refresh')</h4>
<p>When using scrollspy in conjunction with adding or removing of elements from the DOM, you'll need to call the refresh method like so:</p>
{% highlight js %}
@@ -103,7 +103,7 @@ $('[data-spy="scroll"]').each(function () {
{% endhighlight %}
- <h3>Options</h3>
+ <h3 id="scrollspy-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-offset=""</code>.</p>
<div class="table-responsive">
<table class="table table-bordered table-striped">
@@ -126,7 +126,7 @@ $('[data-spy="scroll"]').each(function () {
</table>
</div><!-- ./bs-table-responsive -->
- <h3>Events</h3>
+ <h3 id="scrollspy-events">Events</h3>
<div class="table-responsive">
<table class="table table-bordered table-striped">
<thead>