πŸ“Š Angular
Q. What Angular decorator is used to get a reference to a child component or DOM element?
  • (A) @ViewChild
  • (B) @Input
  • (C) @Output
  • (D) @ContentChild
πŸ’¬ Discuss
βœ… Correct Answer: (A) @ViewChild

Explanation: @ViewChild retrieves references from the template.

Explanation by: Mr. Dubey
@ViewChild retrieves references from the template.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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