mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-24 03:40:10 +00:00
Fixed wrong method name _getInstance
There is no _getInstance method, but there is a getInstance method
This commit is contained in:
parent
a398c500b8
commit
1de0d94130
@ -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). |
|
| `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).|
|
| `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).|
|
| `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 >}}
|
{{< /bs-table >}}
|
||||||
|
|
||||||
### Events
|
### Events
|
||||||
|
Loading…
x
Reference in New Issue
Block a user