diff options
Diffstat (limited to 'docs/javascript/tooltips.md')
| -rw-r--r-- | docs/javascript/tooltips.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/javascript/tooltips.md b/docs/javascript/tooltips.md index 008db7c86..2e8e11470 100644 --- a/docs/javascript/tooltips.md +++ b/docs/javascript/tooltips.md @@ -241,19 +241,19 @@ Attaches a tooltip handler to an element collection. #### .tooltip('show') -Reveals an element's 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. +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. +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 %} |
