mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 10:52:19 +01:00
fix error in javascript example under Asynchronous functions and transitions section
This commit is contained in:
parent
2b2183a96e
commit
9485172017
@ -109,7 +109,7 @@ All programmatic API methods are **asynchronous** and return to the caller once
|
||||
In order to execute an action once the transition is complete, you can listen to the corresponding event.
|
||||
|
||||
```js
|
||||
var myCollapseEl = document.getElementById('#myCollapse')
|
||||
var myCollapseEl = document.getElementById('myCollapse')
|
||||
|
||||
myCollapseEl.addEventListener('shown.bs.collapse', function (event) {
|
||||
// Action to execute once the collapsible area is expanded
|
||||
|
Loading…
x
Reference in New Issue
Block a user