aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/js/popovers.html
diff options
context:
space:
mode:
authorSteven Black <[email protected]>2015-02-25 04:00:37 +0200
committerXhmikosR <[email protected]>2015-03-03 18:22:09 +0200
commit457885075f8fa004f3a190efdcf381af218e1bb7 (patch)
tree2bca5372ef834b621c63a3af1ed4e84d1bf7ddda /docs/_includes/js/popovers.html
parent420a8088a4086cf06d930070404531cba8db8a8d (diff)
downloadbootstrap-457885075f8fa004f3a190efdcf381af218e1bb7.tar.xz
bootstrap-457885075f8fa004f3a190efdcf381af218e1bb7.zip
Javascript docs: Accessibility and cosmetic changes to headings.
Closes #15915 by merging it.
Diffstat (limited to 'docs/_includes/js/popovers.html')
-rw-r--r--docs/_includes/js/popovers.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/_includes/js/popovers.html b/docs/_includes/js/popovers.html
index 3616c1521..5f8c6e661 100644
--- a/docs/_includes/js/popovers.html
+++ b/docs/_includes/js/popovers.html
@@ -248,22 +248,22 @@ sagittis lacus vel augue laoreet rutrum faucibus.">
</div>
<h3>Methods</h3>
- <h4>$().popover(options)</h4>
+ <h4><code>$().popover(options)</code></h4>
<p>Initializes popovers for an element collection.</p>
- <h4>.popover('show')</h4>
+ <h4><code>.popover('show')</code></h4>
<p>Reveals an element's popover. <strong>Returns to the caller before the popover has actually been shown</strong> (i.e. before the <code>shown.bs.popover</code> event occurs). This is considered a "manual" triggering of the popover. Popovers whose both title and content are zero-length are never displayed.</p>
{% highlight js %}$('#element').popover('show'){% endhighlight %}
- <h4>.popover('hide')</h4>
+ <h4><code>.popover('hide')</code></h4>
<p>Hides an element's popover. <strong>Returns to the caller before the popover has actually been hidden</strong> (i.e. before the <code>hidden.bs.popover</code> event occurs). This is considered a "manual" triggering of the popover.</p>
{% highlight js %}$('#element').popover('hide'){% endhighlight %}
- <h4>.popover('toggle')</h4>
+ <h4><code>.popover('toggle')</code></h4>
<p>Toggles an element's popover. <strong>Returns to the caller before the popover has actually been shown or hidden</strong> (i.e. before the <code>shown.bs.popover</code> or <code>hidden.bs.popover</code> event occurs). This is considered a "manual" triggering of the popover.</p>
{% highlight js %}$('#element').popover('toggle'){% endhighlight %}
- <h4>.popover('destroy')</h4>
+ <h4><code>.popover('destroy')</code></h4>
<p>Hides and destroys an element's popover. Popovers that use delegation (which are created using <a href="#popovers-options">the <code>selector</code> option</a>) cannot be individually destroyed on descendant trigger elements.</p>
{% highlight js %}$('#element').popover('destroy'){% endhighlight %}