Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2019-11-26 20:12:00 +0300
committerGitHub <noreply@github.com>2019-11-26 20:12:00 +0300
commit593574d510050dc2d5eeafe70a58ae182f020480 (patch)
tree043a163d6c712121ca0fe1f34c419ab592b03185 /site/docs/4.4/examples/offcanvas/offcanvas.js
parentd61bba584f89c7df0d780a9ff214a58f7b58cb94 (diff)
Release v4.4.0 (#29735)v4.4.0
Diffstat (limited to 'site/docs/4.4/examples/offcanvas/offcanvas.js')
-rw-r--r--site/docs/4.4/examples/offcanvas/offcanvas.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/site/docs/4.4/examples/offcanvas/offcanvas.js b/site/docs/4.4/examples/offcanvas/offcanvas.js
new file mode 100644
index 0000000000..bc3e467118
--- /dev/null
+++ b/site/docs/4.4/examples/offcanvas/offcanvas.js
@@ -0,0 +1,7 @@
+$(function () {
+ 'use strict'
+
+ $('[data-toggle="offcanvas"]').on('click', function () {
+ $('.offcanvas-collapse').toggleClass('open')
+ })
+})