X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app.js;h=6c8307436749b5a33e039aafefc5aaed994b6805;hb=2cf93f388130134d8ff9cf1af7535e21cafc207f;hp=21bdbb995f47392582a9849f83d55c51cffbaa30;hpb=b4de52de8977f21fef7468c1a9c706b33c1b2dd5;p=github%2Fbastienwirtz%2Fhomer.git diff --git a/app.js b/app.js index 21bdbb9..6c83074 100644 --- 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; + } } });