Open/Close sidenav from another component

后端 未结 6 989
误落风尘
误落风尘 2020-12-02 12:26

I use angular (latest version) and angular material.

There are 3 components:

  • header.component, in which there is a control button for right-sidenav
6条回答
  •  醉酒成梦
    2020-12-02 13:04

    Just to add to Eldho's answer, you can disable animations for a true hiding effect.

        
    

提交回复
热议问题