]> git.immae.eu Git - github/bastienwirtz/homer.git/blobdiff - app.js
Merge pull request #27 from traeblain/feature-burger
[github/bastienwirtz/homer.git] / app.js
diff --git a/app.js b/app.js
index 21bdbb995f47392582a9849f83d55c51cffbaa30..6c8307436749b5a33e039aafefc5aaed994b6805 100644 (file)
--- a/app.js
+++ b/app.js
@@ -5,7 +5,8 @@ const app = new Vue({
         offline: false,
         filter: '',
         vlayout: true,
-        isDark: null
+        isDark: null,
+        showMenu: false
     },
     created: async function () {
         let that = this;
@@ -81,6 +82,9 @@ const app = new Vue({
             this.vlayout = !this.vlayout;
             localStorage.vlayout = this.vlayout;
         },
+        toggleMenu: function() {
+            this.showMenu = !this.showMenu;
+        }
     }
 });