aboutsummaryrefslogtreecommitdiff
path: root/docs/components/tooltips.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/components/tooltips.md')
-rw-r--r--docs/components/tooltips.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/components/tooltips.md b/docs/components/tooltips.md
index 85f3e63b6..034af3e38 100644
--- a/docs/components/tooltips.md
+++ b/docs/components/tooltips.md
@@ -262,11 +262,11 @@ Toggles an element's tooltip. **Returns to the caller before the tooltip has act
{% highlight js %}$('#element').tooltip('toggle'){% endhighlight %}
-#### .tooltip('destroy')
+#### .tooltip('dispose')
Hides and destroys an element's tooltip. Tooltips that use delegation (which are created using [the `selector` option](#options)) cannot be individually destroyed on descendant trigger elements.
-{% highlight js %}$('#element').tooltip('destroy'){% endhighlight %}
+{% highlight js %}$('#element').tooltip('dispose'){% endhighlight %}
### Events