2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03: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
+2 -2
View File
@@ -137,7 +137,7 @@ sagittis lacus vel augue laoreet rutrum faucibus.">
<p>Enable popovers via JavaScript:</p>
{% highlight js %}$('#example').popover(options){% endhighlight %}
<h3>Options</h3>
<h3 id="popovers-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-animation=""</code>.</p>
<div class="table-responsive">
<table class="table table-bordered table-striped">
@@ -266,7 +266,7 @@ sagittis lacus vel augue laoreet rutrum faucibus.">
<h4>.popover('destroy')</h4>
<p>Hides and destroys an element's popover.</p>
{% highlight js %}$('#element').popover('destroy'){% endhighlight %}
<h3>Events</h3>
<h3 id="popovers-events">Events</h3>
<div class="table-responsive">
<table class="table table-bordered table-striped">
<thead>