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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user