πŸ“Š Angular
Q. What is the purpose of the @ViewChild decorator?
  • (A) Access a child component, directive, or DOM element
  • (B) Define input properties
  • (C) Listen to output events
  • (D) Create a new component
πŸ’¬ Discuss
βœ… Correct Answer: (A) Access a child component, directive, or DOM element

Explanation: @ViewChild allows interaction with child components or DOM.

Explanation by: Mr. Dubey
@ViewChild allows interaction with child components or DOM.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
34
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
88%
Success Rate