Angular Material Tabs not working with wrapper component

邮差的信 提交于 2019-12-02 21:15:35

I think the issue you have is the same described in this github issue: https://github.com/primefaces/primeng/issues/1215

Basically the problem here is that ng-content does not provide @ContentChild when crossing component boundaries.

You can see that mat-tab uses @ContentChild: https://github.com/angular/material2/blob/master/src/lib/tabs/tab.ts

So I think the only solution is to override it programmatically the way it is described in primeng issue.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!