angularangular-materialmat-sidenav

Check if MatSidenav closing animation ended


How can I check if the MatSidenav component finished its closing animation? I'm looking at the documentation but I can only see a closedStart event. Is there some workaround or something I am missing for what I want to do?


Solution

  • I realised I can use the openedChange event which is triggered when the opening or closing animation is fully complete.