mat-menu and button in different components

后端 未结 2 1882
感情败类
感情败类 2021-02-19 08:12

I have

...

in app-save-document component and

&         


        
2条回答
  •  既然无缘
    2021-02-19 08:44

    Here's another solution using ng-content. That's my preferred way to go.

    my-custom-menu-component html:

    menu content

    parent-component html:

    
      
    
    

提交回复
热议问题