From 457885075f8fa004f3a190efdcf381af218e1bb7 Mon Sep 17 00:00:00 2001 From: Steven Black Date: Wed, 25 Feb 2015 04:00:37 +0200 Subject: Javascript docs: Accessibility and cosmetic changes to headings. Closes #15915 by merging it. --- docs/_includes/js/tooltips.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'docs/_includes/js/tooltips.html') diff --git a/docs/_includes/js/tooltips.html b/docs/_includes/js/tooltips.html index 77a0d5cb5..c3fe17ec2 100644 --- a/docs/_includes/js/tooltips.html +++ b/docs/_includes/js/tooltips.html @@ -209,22 +209,22 @@ $('#example').tooltip(options)

Methods

-

$().tooltip(options)

+

$().tooltip(options)

Attaches a tooltip handler to an element collection.

-

.tooltip('show')

+

.tooltip('show')

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')

+

.tooltip('hide')

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')

+

.tooltip('toggle')

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')

+

.tooltip('destroy')

Hides and destroys an element's tooltip. Tooltips that use delegation (which are created using the selector option) cannot be individually destroyed on descendant trigger elements.

{% highlight js %}$('#element').tooltip('destroy'){% endhighlight %} -- cgit v1.2.3