mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 10:52:19 +01:00
Explain the "dispose" method appropriately (#30838)
This commit is contained in:
parent
c5966de273
commit
e4be0640ee
@ -127,7 +127,7 @@ This makes an alert listen for click events on descendant elements which have th
|
||||
<code>dispose</code>
|
||||
</td>
|
||||
<td>
|
||||
Destroys an element's alert.
|
||||
Destroys an element's alert. (Removes stored data on the DOM element)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -155,7 +155,7 @@ var bsButton = new bootstrap.Button(button)
|
||||
<code>dispose</code>
|
||||
</td>
|
||||
<td>
|
||||
Destroys an element's button.
|
||||
Destroys an element's button. (Removes stored data on the DOM element)
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -368,7 +368,7 @@ var carousel = new bootstrap.Carousel(myCarousel, {
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>dispose</code></td>
|
||||
<td>Destroys an element's carousel.</td>
|
||||
<td>Destroys an element's carousel. (Removes stored data on the DOM element)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>getInstance</code></td>
|
||||
|
@ -224,7 +224,7 @@ var bsCollapse = new bootstrap.Collapse(myCollapse, {
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>dispose</code></td>
|
||||
<td>Destroys an element's collapse.</td>
|
||||
<td>Destroys an element's collapse. (Removes stored data on the DOM element)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>getInstance</code></td>
|
||||
|
@ -949,7 +949,7 @@ Note when `boundary` is set to any value other than `'scrollParent'`, the style
|
||||
<tr>
|
||||
<td><code>dispose</code></td>
|
||||
<td>
|
||||
Destroys an element's dropdown.
|
||||
Destroys an element's dropdown. (Removes stored data on the DOM element)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -928,7 +928,7 @@ Manually readjust the modal's position if the height of a modal changes while it
|
||||
|
||||
#### dispose
|
||||
|
||||
Destroys an element's modal.
|
||||
Destroys an element's modal. (Removes stored data on the DOM element)
|
||||
|
||||
{{< highlight js >}}myModal.dispose(){{< /highlight >}}
|
||||
|
||||
|
@ -323,7 +323,7 @@ Toggles an element's popover. **Returns to the caller before the popover has act
|
||||
|
||||
#### dispose
|
||||
|
||||
Hides and destroys an element's popover. Popovers that use delegation (which are created using [the `selector` option](#options)) cannot be individually destroyed on descendant trigger elements.
|
||||
Hides and destroys an element's popover (Removes stored data on the DOM element). Popovers that use delegation (which are created using [the `selector` option](#options)) cannot be individually destroyed on descendant trigger elements.
|
||||
|
||||
{{< highlight js >}}myPopover.dispose(){{< /highlight >}}
|
||||
|
||||
|
@ -290,7 +290,7 @@ dataSpyList.forEach(function (dataSpyEl) {
|
||||
|
||||
#### dispose
|
||||
|
||||
Destroys an element's scrollspy.
|
||||
Destroys an element's scrollspy. (Removes stored data on the DOM element)
|
||||
|
||||
#### getInstance
|
||||
|
||||
|
@ -330,7 +330,7 @@ Toggles an element's tooltip. **Returns to the caller before the tooltip has act
|
||||
|
||||
#### 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.
|
||||
Hides and destroys an element's tooltip (Removes stored data on the DOM element). Tooltips that use delegation (which are created using [the `selector` option](#options)) cannot be individually destroyed on descendant trigger elements.
|
||||
|
||||
{{< highlight js >}}tooltip.dispose(){{< /highlight >}}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user