Answer the question
In order to leave comments, you need to log in
How to get an array of elements by class using @viewChild and @viewChildren?
there is a set of elements in the component that are not directives
<div class="someClass"></div>
<div class="someClass"></div>
<div class="someClass"></div>
<div class="someClass"></div>
<div class="someClass"></div>
<div #someLink class="someClass"></div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question