Side Menu Enable/Disable in script


#1

Hi Guys,

I want to enable/disable Side Menu through scripting. If user is logged in then he can only see/swipe side menu, otherwise he won’t. I am new to angular. Any help would be appreciated.


#2

You could use the ngIf Directive to render the SideMenu only when the user is logged in.