Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/site
diff options
context:
space:
mode:
authorDanny Trunk <dtrunk90@gmail.com>2021-04-06 21:48:45 +0300
committerMark Otto <otto@github.com>2021-04-07 07:51:01 +0300
commit1de0d94130074e085b0611fa79380a2f8d4e89dd (patch)
tree36de2404a9e50fa67796254ad9aad8af8a4d17c8 /site
parenta398c500b87176e7d17074bb631639ca51982b4a (diff)
Fixed wrong method name _getInstance
There is no _getInstance method, but there is a getInstance method
Diffstat (limited to 'site')
-rw-r--r--site/content/docs/5.0/components/offcanvas.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/content/docs/5.0/components/offcanvas.md b/site/content/docs/5.0/components/offcanvas.md
index 768e811bce..b9dbd7ce8d 100644
--- a/site/content/docs/5.0/components/offcanvas.md
+++ b/site/content/docs/5.0/components/offcanvas.md
@@ -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