<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-top="200"</code>.</p>
<divclass="table-responsive">
...
...
@@ -74,7 +74,7 @@ $('#myAffix').affix({
</div><!-- /.table-responsive -->
<h3>Events</h3>
<h3id="affix-events">Events</h3>
<p>Bootstrap's affix plugin exposes a few events for hooking into affix functionality.</p>
<p>To have your alerts use animation when closing, make sure they have the <code>.fade</code> and <code>.in</code> classes already applied to them.</p>
<h3>Methods</h3>
<h3id="alerts-methods">Methods</h3>
<h4>$().alert()</h4>
<p>Makes an alert listen for click events on descendant elements which have the <code>data-dismiss="alert"</code> attribute. (Not necessary when using the data-api's auto-initialization.)</p>
...
...
@@ -44,7 +44,7 @@
<p>Closes an alert by removing it from the DOM. If the <code>.fade</code> and <code>.in</code> classes are present on the element, the alert will fade out before it is removed.</p>
<h3>Events</h3>
<h3id="alerts-events">Events</h3>
<p>Bootstrap's alert plugin exposes a few events for hooking into alert functionality.</p>
<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-interval=""</code>.</p>
<divclass="table-responsive">
<tableclass="table table-bordered table-striped">
...
...
@@ -193,7 +193,7 @@ $('.carousel').carousel()
</table>
</div><!-- /.table-responsive -->
<h3>Methods</h3>
<h3id="carousel-methods">Methods</h3>
<h4>.carousel(options)</h4>
<p>Initializes the carousel with an optional options <code>object</code> and starts cycling through items.</p>
...
...
@@ -219,7 +219,7 @@ $('.carousel').carousel({
<h4>.carousel('next')</h4>
<p>Cycles to the next item.</p>
<h3>Events</h3>
<h3id="carousel-events">Events</h3>
<p>Bootstrap's carousel class exposes two events for hooking into carousel functionality.</p>
<p>Both events have the following additional properties:</p>
<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-parent=""</code>.</p>
<divclass="table-responsive">
<tableclass="table table-bordered table-striped">
...
...
@@ -190,7 +190,7 @@ $('.collapse').collapse()
</table>
</div><!-- /.table-responsive -->
<h3>Methods</h3>
<h3id="collapse-methods">Methods</h3>
<h4>.collapse(options)</h4>
<p>Activates your content as a collapsible element. Accepts an optional options <code>object</code>.
<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>
<h3id="dropdowns-options">Options</h3>
<p><em>None</em></p>
<h3>Methods</h3>
<h3id="dropdowns-methods">Methods</h3>
<h4>$().dropdown('toggle')</h4>
<p>Toggles the dropdown menu of a given navbar or tabbed navigation.</p>
<h3>Events</h3>
<h3id="dropdowns-events">Events</h3>
<p>All dropdown events are fired at the <code>.dropdown-menu</code>'s parent element.</p>
<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>
<divclass="table-responsive">
<tableclass="table table-bordered table-striped">
...
...
@@ -353,7 +353,7 @@ $('#exampleModal').on('show.bs.modal', function (event) {
</table>
</div><!-- /.table-responsive -->
<h3>Methods</h3>
<h3id="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>
<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-animation=""</code>.</p>
<divclass="table-responsive">
<tableclass="table table-bordered table-striped">
...
...
@@ -266,7 +266,7 @@ sagittis lacus vel augue laoreet rutrum faucibus.">
<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>
Activates a tab element and content container. Tab should have either a <code>data-target</code> or an <code>href</code> targeting a container node in the DOM.
<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-animation=""</code>.</p>