You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/content/docs/5.3/components/offcanvas.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -328,6 +328,7 @@ const bsOffcanvas = new bootstrap.Offcanvas('#myOffcanvas')
328
328
{{< bs-table "table" >}}
329
329
| Method | Description |
330
330
| --- | --- |
331
+
|`dispose`| Destroys an element's offcanvas. |
331
332
|`getInstance`|*Static* method which allows you to get the offcanvas instance associated with a DOM element. |
332
333
|`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. |
333
334
|`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). |
0 commit comments