mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Fix doc for tooltips and popover method dispose
This commit is contained in:
parent
c34fdd415e
commit
c9597b1c54
2 changed files with 4 additions and 4 deletions
|
@ -304,12 +304,12 @@ Toggles an element's popover. **Returns to the caller before the popover has act
|
|||
|
||||
{% highlight js %}$('#element').popover('toggle'){% endhighlight %}
|
||||
|
||||
#### .popover('destroy')
|
||||
#### .popover('dispose')
|
||||
|
||||
Hides and destroys an element's popover. Popvoers that use delegation (which are created using [the `selector` option](#options)) cannot be individually destroyed on descendant trigger elements.
|
||||
|
||||
|
||||
{% highlight js %}$('#element').popover('destroy'){% endhighlight %}
|
||||
{% highlight js %}$('#element').popover('dispose'){% endhighlight %}
|
||||
|
||||
### Events
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue