I have the following component that displays child components of its type for each element of the array.
@Component({ selector:'pane', template: ` <pane [item]="item"> <div> <pane *ngFor="#subItem of item.subItems" [item]="subItem"></pane> </div> <div innerHtml="item.getContent()"></div> </pane> ` )} export class Pane { @Input() item: any; }
But the pane components inside ngFor not displayed pending - I see the correct number of pane elements, but they are not populated with the contents of the template.
source share