mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-10 23:54:08 +02:00
Add v4.6.0 docs
This commit is contained in:
7
docs/4.6/examples/offcanvas/offcanvas.js
Normal file
7
docs/4.6/examples/offcanvas/offcanvas.js
Normal file
@@ -0,0 +1,7 @@
|
||||
$(function () {
|
||||
'use strict'
|
||||
|
||||
$('[data-toggle="offcanvas"]').on('click', function () {
|
||||
$('.offcanvas-collapse').toggleClass('open')
|
||||
})
|
||||
})
|
Reference in New Issue
Block a user