aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/offcanvas/offcanvas.js
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/offcanvas/offcanvas.js')
-rw-r--r--docs/examples/offcanvas/offcanvas.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/examples/offcanvas/offcanvas.js b/docs/examples/offcanvas/offcanvas.js
new file mode 100644
index 000000000..12f2dff51
--- /dev/null
+++ b/docs/examples/offcanvas/offcanvas.js
@@ -0,0 +1,5 @@
+$(document).ready(function() {
+ $('[data-toggle=offcanvas]').click(function() {
+ $('.row-offcanvas').toggleClass('active');
+ });
+}); \ No newline at end of file