diff --git a/javascript.html b/javascript.html index 72b37d4fb..5d94d3f2d 100644 --- a/javascript.html +++ b/javascript.html @@ -867,6 +867,39 @@ $('#example').tooltip(options)
Hides and destroys an element's tooltip.
{% highlight js %}$('#element').tooltip('destroy'){% endhighlight %} + +| Event Type | +Description | +
|---|---|
| show | +This event fires immediately when the show instance method is called. |
+
| shown | +This event is fired when the tooltip has been made visible to the user (will wait for CSS transitions to complete). | +
| hide | +This event is fired immediately when the hide instance method has been called. |
+
| hidden | +This event is fired when the tooltip has finished being hidden from the user (will wait for CSS transitions to complete). | +
Hides and destroys an element's popover.
{% highlight js %}$('#element').popover('destroy'){% endhighlight %} + +| Event Type | +Description | +
|---|---|
| show | +This event fires immediately when the show instance method is called. |
+
| shown | +This event is fired when the popover has been made visible to the user (will wait for CSS transitions to complete). | +
| hide | +This event is fired immediately when the hide instance method has been called. |
+
| hidden | +This event is fired when the popover has finished being hidden from the user (will wait for CSS transitions to complete). | +