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/modal.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/modal.html')
| -rw-r--r-- | docs/_includes/js/modal.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/_includes/js/modal.html b/docs/_includes/js/modal.html index 22924b4e7..4c0d46e9b 100644 --- a/docs/_includes/js/modal.html +++ b/docs/_includes/js/modal.html @@ -306,7 +306,7 @@ $('#exampleModal').on('show.bs.modal', function (event) { <p>Call a modal with id <code>myModal</code> with a single line of JavaScript:</p> {% highlight js %}$('#myModal').modal(options){% endhighlight %} - <h3>Options</h3> + <h3 id="modals-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-backdrop=""</code>.</p> <div class="table-responsive"> <table class="table table-bordered table-striped"> @@ -353,7 +353,7 @@ $('#exampleModal').on('show.bs.modal', function (event) { </table> </div><!-- /.table-responsive --> - <h3>Methods</h3> + <h3 id="modals-methods">Methods</h3> <h4>.modal(options)</h4> <p>Activates your content as a modal. Accepts an optional options <code>object</code>.</p> @@ -375,7 +375,7 @@ $('#myModal').modal({ <p>Manually hides a modal. <strong>Returns to the caller before the modal has actually been hidden</strong> (i.e. before the <code>hidden.bs.modal</code> event occurs).</p> {% highlight js %}$('#myModal').modal('hide'){% endhighlight %} - <h3>Events</h3> + <h3 id="modals-events">Events</h3> <p>Bootstrap's modal class exposes a few events for hooking into modal functionality.</p> <div class="table-responsive"> <table class="table table-bordered table-striped"> |
