2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

docs: use event instead of e (#32226)

It's better for clarity.
This commit is contained in:
XhmikosR
2020-11-21 17:00:38 +02:00
committed by GitHub
parent f4457bca02
commit d365831bce
4 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -988,7 +988,7 @@ Bootstrap's modal class exposes a few events for hooking into modal functionalit
```js
var myModalEl = document.getElementById('myModal')
myModalEl.addEventListener('hidden.bs.modal', function (e) {
myModalEl.addEventListener('hidden.bs.modal', function (event) {
// do something...
})
```