Is there an easy way to let the router link active status inform when a drawer is selected? I read the documentation on drawer routing, but it cheats by having the initial drawer selected arbitrarily as the first one.
What if another link on the page redirects to user to a different drawer without the user actually clicking on the drawer widget?
Or what if the initial route to the page should have the 3rd item in the drawer selected and not the first?
If the current route changes in a way other than clicking the drawer, the selected drawer doesn't change unless I manually intercept every routing event in angular and then check the route against all the drawers and finding the appropriate one. Even then there doesn't seem to be a programmatic way to change the selected drawer other than to rebuild the entire items array with a new selected item and replace the existing one. Basically I have to recreate the router link active logic that already exists?
Or am I misunderstanding how to use this for routing?