Skip to content

Commit fb6622a

Browse files
committed
Document that calling tooltip/popover .show()/.hide() qualifies as manual triggering
Fixes twbs#15465 [skip sauce]
1 parent 9fdf7a2 commit fb6622a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/_includes/js/popovers.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,15 +252,15 @@ <h4>$().popover(options)</h4>
252252
<p>Initializes popovers for an element collection.</p>
253253

254254
<h4>.popover('show')</h4>
255-
<p>Reveals an element's popover. Popovers whose both title and content are zero-length are never displayed.</p>
255+
<p>Reveals an element's popover. This is considered a "manual" triggering of the popover. Popovers whose both title and content are zero-length are never displayed.</p>
256256
{% highlight js %}$('#element').popover('show'){% endhighlight %}
257257

258258
<h4>.popover('hide')</h4>
259-
<p>Hides an element's popover.</p>
259+
<p>Hides an element's popover. This is considered a "manual" triggering of the popover.</p>
260260
{% highlight js %}$('#element').popover('hide'){% endhighlight %}
261261

262262
<h4>.popover('toggle')</h4>
263-
<p>Toggles an element's popover.</p>
263+
<p>Toggles an element's popover. This is considered a "manual" triggering of the popover.</p>
264264
{% highlight js %}$('#element').popover('toggle'){% endhighlight %}
265265

266266
<h4>.popover('destroy')</h4>

docs/_includes/js/tooltips.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,15 +213,15 @@ <h4>$().tooltip(options)</h4>
213213
<p>Attaches a tooltip handler to an element collection.</p>
214214

215215
<h4>.tooltip('show')</h4>
216-
<p>Reveals an element's tooltip. Tooltips with zero-length titles are never displayed.</p>
216+
<p>Reveals an element's tooltip. This is considered a "manual" triggering of the tooltip. Tooltips with zero-length titles are never displayed.</p>
217217
{% highlight js %}$('#element').tooltip('show'){% endhighlight %}
218218

219219
<h4>.tooltip('hide')</h4>
220-
<p>Hides an element's tooltip.</p>
220+
<p>Hides an element's tooltip. This is considered a "manual" triggering of the tooltip.</p>
221221
{% highlight js %}$('#element').tooltip('hide'){% endhighlight %}
222222

223223
<h4>.tooltip('toggle')</h4>
224-
<p>Toggles an element's tooltip.</p>
224+
<p>Toggles an element's tooltip. This is considered a "manual" triggering of the tooltip.</p>
225225
{% highlight js %}$('#element').tooltip('toggle'){% endhighlight %}
226226

227227
<h4>.tooltip('destroy')</h4>

0 commit comments

Comments
 (0)