mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Merge pull request #14716 from blankmaker/docs/fix-12563
Fix #12563: Elaborate that popover('show') checks title/content
This commit is contained in:
commit
64a74e9354
@ -246,7 +246,7 @@ sagittis lacus vel augue laoreet rutrum faucibus.">
|
||||
<p>Initializes popovers for an element collection.</p>
|
||||
|
||||
<h4>.popover('show')</h4>
|
||||
<p>Reveals an element's popover.</p>
|
||||
<p>Reveals an element's popover. Popovers whose both title and content are zero-length are never displayed.</p>
|
||||
{% highlight js %}$('#element').popover('show'){% endhighlight %}
|
||||
|
||||
<h4>.popover('hide')</h4>
|
||||
|
@ -207,7 +207,7 @@ $('#example').tooltip(options)
|
||||
<p>Attaches a tooltip handler to an element collection.</p>
|
||||
|
||||
<h4>.tooltip('show')</h4>
|
||||
<p>Reveals an element's tooltip.</p>
|
||||
<p>Reveals an element's tooltip. Tooltips with zero-length titles are never displayed.</p>
|
||||
{% highlight js %}$('#element').tooltip('show'){% endhighlight %}
|
||||
|
||||
<h4>.tooltip('hide')</h4>
|
||||
|
Loading…
x
Reference in New Issue
Block a user