diff options
| author | GeoSot <[email protected]> | 2021-06-29 19:08:15 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2021-08-23 18:30:42 +0300 |
| commit | cd6776b5b1b79986790604014eddd1b575fe5df7 (patch) | |
| tree | 0a1146f9061b3034ae3b390713689c0d819e590b /site/content/docs/5.1/components/modal.md | |
| parent | 480c7c9c433c2ece50ffc6503eb03292e3853f39 (diff) | |
| download | bootstrap-js-docs-tweaks.tar.xz bootstrap-js-docs-tweaks.zip | |
updatesjs-docs-tweaks
Diffstat (limited to 'site/content/docs/5.1/components/modal.md')
| -rw-r--r-- | site/content/docs/5.1/components/modal.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/site/content/docs/5.1/components/modal.md b/site/content/docs/5.1/components/modal.md index dce4b8290..df3bc331d 100644 --- a/site/content/docs/5.1/components/modal.md +++ b/site/content/docs/5.1/components/modal.md @@ -863,8 +863,7 @@ var myModal = new bootstrap.Modal(document.getElementById('myModal'), { | Method | Description | | --- | --- | | `toggle` | Manually toggles a modal. **Returns to the caller before the modal has actually been shown or hidden** (i.e. before the `shown.bs.modal` or `hidden.bs.modal` event occurs). | -| `show` | Manually opens a modal. **Returns to the caller before the modal has actually been shown** (i.e. before the `shown.bs.modal` event occurs). -Also, you can pass a DOM element as an argument that can be received in the modal events (as the `relatedTarget` property). (i.e. `var modalToggle = document.getElementById('toggleMyModal'); myModal.show(modalToggle)` | +| `show` | Manually opens a modal. **Returns to the caller before the modal has actually been shown** (i.e. before the `shown.bs.modal` event occurs). Also, you can pass a DOM element as an argument that can be received in the modal events (as the `relatedTarget` property). (i.e. `var modalToggle = document.getElementById('toggleMyModal'); myModal.show(modalToggle)` | | `hide` | Manually hides a modal. **Returns to the caller before the modal has actually been hidden** (i.e. before the `hidden.bs.modal` event occurs). | | `handleUpdate` | Manually readjust the modal's position if the height of a modal changes while it is open (i.e. in case a scrollbar appears). | | `dispose` | Destroys an element's modal. (Removes stored data on the DOM element) | |
