1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-10-04 01:01:56 +02:00

JS docs: add Options, Methods, Events subsections to nav sidebar

This commit is contained in:
Chris Rebert
2014-11-11 21:16:34 -08:00
parent ff386147ce
commit 1211a8155e
11 changed files with 51 additions and 26 deletions

View File

@@ -155,14 +155,14 @@ $('.dropdown-toggle').dropdown()
<p>Regardless of whether you call your dropdown via JavaScript or instead use the data-api, <code>data-toggle="dropdown"</code> is always required to be present on the dropdown's trigger element.</p>
</div>
<h3>Options</h3>
<h3 id="dropdowns-options">Options</h3>
<p><em>None</em></p>
<h3>Methods</h3>
<h3 id="dropdowns-methods">Methods</h3>
<h4>$().dropdown('toggle')</h4>
<p>Toggles the dropdown menu of a given navbar or tabbed navigation.</p>
<h3>Events</h3>
<h3 id="dropdowns-events">Events</h3>
<p>All dropdown events are fired at the <code>.dropdown-menu</code>'s parent element.</p>
<div class="table-responsive">
<table class="table table-bordered table-striped">