相关疑难解决方法(0)

如何以编程方式实例化和应用指​​令?

我知道在ng2中我们ComponentFactoryResolver可以解决我们可以申请的工厂ViewContainerRef.

但是,指令有类似之处吗?一种实例化它们并将它们应用于组件中的投影内容的方法?

projection angular-directive angular2-template angular

7
推荐指数
1
解决办法
4572
查看次数