πŸ“Š Angular
Q. What is Angular's built-in directive to conditionally include or exclude an element in the DOM?
  • (A) *ngIf
  • (B) *ngFor
  • (C) *ngSwitch
  • (D) ngClass
πŸ’¬ Discuss
βœ… Correct Answer: (A) *ngIf

Explanation: *ngIf conditionally adds or removes elements from the DOM.

Explanation by: Mr. Dubey
*ngIf conditionally adds or removes elements from the DOM.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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