mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-10 15:44:51 +02:00
Add v5.2.0-beta1 docs (#36338)
This commit is contained in:
7
docs/5.2/examples/offcanvas-navbar/offcanvas.js
Normal file
7
docs/5.2/examples/offcanvas-navbar/offcanvas.js
Normal file
@@ -0,0 +1,7 @@
|
||||
(() => {
|
||||
'use strict'
|
||||
|
||||
document.querySelector('#navbarSideCollapse').addEventListener('click', () => {
|
||||
document.querySelector('.offcanvas-collapse').classList.toggle('open')
|
||||
})
|
||||
})()
|
Reference in New Issue
Block a user