]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixed wrong method name _getInstance
authorDanny Trunk <dtrunk90@gmail.com>
Tue, 6 Apr 2021 18:48:45 +0000 (20:48 +0200)
committerMark Otto <otto@github.com>
Wed, 7 Apr 2021 04:51:01 +0000 (21:51 -0700)
There is no _getInstance method, but there is a getInstance method

site/content/docs/5.0/components/offcanvas.md

index 768e811bce581dbc3621435f338b688cf6eb9727..b9dbd7ce8da208f86c27669c8977fc75ccb5bef0 100644 (file)
@@ -240,7 +240,7 @@ var bsOffcanvas = new bootstrap.Offcanvas(myOffcanvas)
 | `toggle` | Toggles an offcanvas element to shown or hidden. **Returns to the caller before the offcanvas element has actually been shown or hidden** (i.e. before the `shown.bs.offcanvas` or `hidden.bs.offcanvas` event occurs). |
 | `show` | Shows an offcanvas element. **Returns to the caller before the offcanvas element has actually been shown** (i.e. before the `shown.bs.offcanvas` event occurs).|
 | `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).|
-| `_getInstance` | *Static* method which allows you to get the offcanvas instance associated with a DOM element |
+| `getInstance` | *Static* method which allows you to get the offcanvas instance associated with a DOM element |
 {{< /bs-table >}}
 
 ### Events