Inside a component, we can get child components using the following constructs:
@ViewChildren(MdVerTabLabelWrapper) _labelWrappers: QueryList<MdVerTabLabelWrapper>;
@ViewChildren(MdVerInkBar) _inkBar: QueryList<MdVerInkBar>;
However, if I have a viewContainerRef link, then how do I get the child component (s)?
Basically, what I'm trying to do is list the components, and I need to find the children of these components programmatically.
source
share