How to load the ng-template in separate file?

前端 未结 3 2201
傲寒
傲寒 2021-02-20 07:33

In below sample, I have used ng-template like below and it is working fine.

Sample link: click here

3条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-20 08:06

    You can use *ngTemplateOutlet to archive the same

    Please refer the link below

    ngTemplateOutlet

提交回复
热议问题