Q. What is the purpose of the @ViewChild decorator?
β
Correct Answer: (A)
Access a child component, directive, or DOM element
Explanation: @ViewChild allows interaction with child components or DOM.