From f243d307bea8c4992eaaeed96a35a8e9ac76f2c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Mon, 30 Oct 2023 08:23:11 +0100 Subject: [PATCH] Doc: add `dispose()` to Offcanvas methods (#39340) --- site/content/docs/5.3/components/offcanvas.md | 1 + 1 file changed, 1 insertion(+) diff --git a/site/content/docs/5.3/components/offcanvas.md b/site/content/docs/5.3/components/offcanvas.md index 6a16b3e61273..ac257df24226 100644 --- a/site/content/docs/5.3/components/offcanvas.md +++ b/site/content/docs/5.3/components/offcanvas.md @@ -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). |