From 63f31364508c1f18922867d5d66c4b84cdfb4db3 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Thu, 15 Jan 2015 17:15:41 -0800 Subject: Document that tooltip+popover show+hide methods are async; fixes #15500 [skip sauce] --- docs/_includes/js/tooltips.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/_includes/js/tooltips.html') diff --git a/docs/_includes/js/tooltips.html b/docs/_includes/js/tooltips.html index 0cf91bfb5..90fa37208 100644 --- a/docs/_includes/js/tooltips.html +++ b/docs/_includes/js/tooltips.html @@ -213,15 +213,15 @@ $('#example').tooltip(options)

Attaches a tooltip handler to an element collection.

.tooltip('show')

-

Reveals an element's tooltip. This is considered a "manual" triggering of the tooltip. Tooltips with zero-length titles are never displayed.

+

Reveals an element's tooltip. Returns to the caller before the tooltip has actually been shown (i.e. before the shown.bs.tooltip event occurs). This is considered a "manual" triggering of the tooltip. Tooltips with zero-length titles are never displayed.

{% highlight js %}$('#element').tooltip('show'){% endhighlight %}

.tooltip('hide')

-

Hides an element's tooltip. This is considered a "manual" triggering of the tooltip.

+

Hides an element's tooltip. Returns to the caller before the tooltip has actually been hidden (i.e. before the hidden.bs.tooltip event occurs). This is considered a "manual" triggering of the tooltip.

{% highlight js %}$('#element').tooltip('hide'){% endhighlight %}

.tooltip('toggle')

-

Toggles an element's tooltip. This is considered a "manual" triggering of the tooltip.

+

Toggles an element's tooltip. Returns to the caller before the tooltip has actually been shown or hidden (i.e. before the shown.bs.tooltip or hidden.bs.tooltip event occurs). This is considered a "manual" triggering of the tooltip.

{% highlight js %}$('#element').tooltip('toggle'){% endhighlight %}

.tooltip('destroy')

-- cgit v1.2.3