阅读背景:

使用ngFor将数据传递给嵌套组件

来源:互联网 

I have a parent component (ParentComponent) whose html has several child components (ChildComponent). The number of child components displayed depends on the length of an array using an ngFor. I'm trying to figure out how to set a property on each of the child components in the template. I have a parent component (ParentComponent) who




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: