Loading components dynamically based on first http request

后端 未结 0 447
余生分开走
余生分开走 2020-12-03 01:36

I have some template components and I want to load it dynamicaly, instead to use multiple ngIfs in template.

ts:

templateId: number = -1;
template$: Su         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题