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/collapse.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/collapse.md')
| -rw-r--r-- | site/content/docs/5.1/components/collapse.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/site/content/docs/5.1/components/collapse.md b/site/content/docs/5.1/components/collapse.md index c30c5c4ec..ad724108b 100644 --- a/site/content/docs/5.1/components/collapse.md +++ b/site/content/docs/5.1/components/collapse.md @@ -175,8 +175,7 @@ var bsCollapse = new bootstrap.Collapse(myCollapse, { | `hide` | Hides a collapsible element. **Returns to the caller before the collapsible element has actually been hidden** (e.g., before the `hidden.bs.collapse` event occurs). | | `dispose` | Destroys an element's collapse. (Removes stored data on the DOM element) | | `getInstance` | Static method which allows you to get the collapse instance associated to a DOM element, you can use it like this: `bootstrap.Collapse.getInstance(element)` | -| `getOrCreateInstance` | Static method which returns a collapse instance associated to a DOM element or create a new one in case it wasn't initialised. -You can use it like this: `bootstrap.Collapse.getOrCreateInstance(element)` | +| `getOrCreateInstance` | Static method which returns a collapse instance associated to a DOM element or create a new one in case it wasn't initialised. You can use it like this: `bootstrap.Collapse.getOrCreateInstance(element)` | {{< /bs-table >}} ### Events |
