Skip to content

Commit

Permalink
Doc: add dispose() to Offcanvas methods (twbs#39340)
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond authored and priyashpatil committed Nov 8, 2023
1 parent c5b70a0 commit f243d30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions site/content/docs/5.3/components/offcanvas.md
Expand Up @@ -328,6 +328,7 @@ const bsOffcanvas = new bootstrap.Offcanvas('#myOffcanvas')
{{< bs-table "table" >}}
| Method | Description |
| --- | --- |
| `dispose` | Destroys an element's offcanvas. |
| `getInstance` | *Static* method which allows you to get the offcanvas instance associated with a DOM element. |
| `getOrCreateInstance` | *Static* method which allows you to get the offcanvas instance associated with a DOM element, or create a new one in case it wasn't initialized. |
| `hide` | Hides an offcanvas element. **Returns to the caller before the offcanvas element has actually been hidden** (i.e. before the `hidden.bs.offcanvas` event occurs). |
Expand Down

0 comments on commit f243d30

Please sign in to comment.