Get a type by name Angular 9

后端 未结 0 1985
既然无缘
既然无缘 2021-01-03 20:25

in angular v7 by this code I could have create a component :

public static getComponent(
    typ: string,
    resolver: ComponentFactoryResolver
  ): any {
           


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