Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

Drawer close when item or ng-repeat="item in items" link is clicked #18

Open
thewilsonconcept opened this issue Sep 11, 2015 · 1 comment

Comments

@thewilsonconcept
Copy link

Hey there,
right now I am running a layout which removes the standard menu icon once the drawer is open. Instead of clicking outside of the menu to close it is there a way to set it so that the drawer automatically closes once a side-menu item is clicked. I have tried both "menu-close" and "menu-and-drawer-close" and nothing works. The pages open no problem, but the drawer is still open as well.

Any fix would be super helpful.

@LuisMCunha
Copy link

Just put ng-click="closeDrawer() in each of your items, the end result would be something similar to:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants