mardi 23 août 2016

Is there anyway to add an ng-click to md-backdrop?

I have an angular app that needs to switch states when a sidenav is opened or closed. This works fine when opening the sidenav and closing it via a close button. However I need to attach an ng-click to the md-backdrop in the event that the user closes the sidenav by clicking outside the sidenav. Has anyone else had this issue or does anyone have an idea on how to achieve this? Any help would be greatly appreciated.

Aucun commentaire:

Enregistrer un commentaire