Commit 0e40c818 authored by Chris Rebert's avatar Chris Rebert
Browse files

Merge pull request #15742 from kkirsche/patch-13

[Fix Issue #15701] [Docs] Tooltip/popover destroy docs and delegation
parents 012af29e be2206ed
Showing with 2 additions and 2 deletions
+2 -2
...@@ -264,7 +264,7 @@ sagittis lacus vel augue laoreet rutrum faucibus."> ...@@ -264,7 +264,7 @@ sagittis lacus vel augue laoreet rutrum faucibus.">
{% highlight js %}$('#element').popover('toggle'){% endhighlight %} {% highlight js %}$('#element').popover('toggle'){% endhighlight %}
<h4>.popover('destroy')</h4> <h4>.popover('destroy')</h4>
<p>Hides and destroys an element's popover.</p> <p>Popovers that use delegation (which are created using <a href="#popovers-options">the <code>selector</code> option</a>) cannot be individually destroyed on descendant trigger elements.</p>
{% highlight js %}$('#element').popover('destroy'){% endhighlight %} {% highlight js %}$('#element').popover('destroy'){% endhighlight %}
<h3 id="popovers-events">Events</h3> <h3 id="popovers-events">Events</h3>
......
...@@ -225,7 +225,7 @@ $('#example').tooltip(options) ...@@ -225,7 +225,7 @@ $('#example').tooltip(options)
{% highlight js %}$('#element').tooltip('toggle'){% endhighlight %} {% highlight js %}$('#element').tooltip('toggle'){% endhighlight %}
<h4>.tooltip('destroy')</h4> <h4>.tooltip('destroy')</h4>
<p>Hides and destroys an element's tooltip.</p> <p>Tooltips that use delegation (which are created using <a href="#tooltips-options">the <code>selector</code> option</a>) cannot be individually destroyed on descendant trigger elements.</p>
{% highlight js %}$('#element').tooltip('destroy'){% endhighlight %} {% highlight js %}$('#element').tooltip('destroy'){% endhighlight %}
<h3 id="tooltips-events">Events</h3> <h3 id="tooltips-events">Events</h3>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment