init
This commit is contained in:
7
static/Vvvebjs/demo/offcanvas/offcanvas.js
Normal file
7
static/Vvvebjs/demo/offcanvas/offcanvas.js
Normal file
@@ -0,0 +1,7 @@
|
||||
(function () {
|
||||
'use strict'
|
||||
|
||||
document.querySelector('[data-bs-toggle="offcanvas"]').addEventListener('click', function () {
|
||||
document.querySelector('.offcanvas-collapse').classList.toggle('open')
|
||||
})
|
||||
})()
|
||||
Reference in New Issue
Block a user