Can't get to @ViewChildren in parent component

后端 未结 4 940
感动是毒
感动是毒 2021-01-06 17:30

I am trying to get control over the children instances of a component and can\'t go past an error. I am trying to follow along the answers from this issue.

The paren

4条回答
  •  礼貌的吻别
    2021-01-06 17:55

    @ViewChildren('SequenceStep') steps: QueryList;

    Worked for me. Angular 4.X.X Angular CLI 1.X.X

提交回复
热议问题