diff options
| author | Chris Rebert <[email protected]> | 2014-11-12 10:06:07 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-11-12 10:06:07 -0800 |
| commit | 84dcd226df93e604e7e9aa34692744d630250920 (patch) | |
| tree | f0da2579c9934b08941e6321ca6e7fa1d0a72319 /docs/_includes/js/modal.html | |
| parent | 9a7e365c2c4360335d25246dac11afb1f577210a (diff) | |
| parent | 1211a8155e9357ddd747f7ecba800e460e72465d (diff) | |
| download | bootstrap-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/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"> |
