mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
Add dispose methods in our documentation (#24396)
* Add dispose methods in our documentation * Update buttons.md
This commit is contained in:
@@ -575,6 +575,10 @@ Manually readjust the modal's position if the height of a modal changes while it
|
||||
|
||||
{% highlight js %}$('#myModal').modal('handleUpdate'){% endhighlight %}
|
||||
|
||||
### `.modal('dispose')`
|
||||
|
||||
Destroys an element's modal.
|
||||
|
||||
### Events
|
||||
|
||||
Bootstrap's modal class exposes a few events for hooking into modal functionality. All modal events are fired at the modal itself (i.e. at the `<div class="modal">`).
|
||||
|
||||
Reference in New Issue
Block a user