From a5513e9407895c0d9deb7645b4b7380567f63c43 Mon Sep 17 00:00:00 2001 From: NullVoxPopuli Date: Sun, 2 Aug 2020 16:23:38 -0400 Subject: [PATCH] Add toggle to MobileMenu Use case: keyboard shortcuts! :D ```hbs {{#if this.currentUser.isLoggedIn}} {{/if}} {{yield}} ``` --- addon/components/mobile-menu.hbs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addon/components/mobile-menu.hbs b/addon/components/mobile-menu.hbs index e628882c..d6645290 100644 --- a/addon/components/mobile-menu.hbs +++ b/addon/components/mobile-menu.hbs @@ -44,9 +44,10 @@ actions=(hash open=this.open close=this.close + toggle=this.openOrClose ) ) }} -{{/if}} \ No newline at end of file +{{/if}}