I have a menu that the user can open at any stage. I would like the menu to autohide if the user starts to type anything or executes some action.
The menu is applicable to many pages in my app. Ideally I'd like to execute the code to test if the menu should close whenever the user changes anything in the app. e.g.
if(appController.get('showMenu'){
appController.set('showMenu', false);
}
Any thoughts on a good DRY solution for this?