diff options
| author | Chris Rebert <[email protected]> | 2014-11-11 21:16:34 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-11-11 21:16:34 -0800 |
| commit | 1211a8155e9357ddd747f7ecba800e460e72465d (patch) | |
| tree | 73e6611c87861b86ebb4741eca85d2a7de8afa8f /docs/_includes/js/scrollspy.html | |
| parent | ff386147ce341a15f02b31f638500487246e34da (diff) | |
| download | bootstrap-1211a8155e9357ddd747f7ecba800e460e72465d.tar.xz bootstrap-1211a8155e9357ddd747f7ecba800e460e72465d.zip | |
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.html | 6 |
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> |
