How to handle menu opening and closed events?

In my controller I have imported MenuController and passed it to controller, then in the onPageLoad I have tested it as working properly with Now I am trying to detect when the menu is open or closed like:'opening',(d)=>{
    console.log("Menu is opening");

but that never seems to fire, and I get no console logs. :disappointed:

1 Like