πŸ“Š Angular
Q. Which Angular directive conditionally includes or removes an element in the DOM?
  • (A) *ngFor
  • (B) *ngSwitch
  • (C) *ngIf
  • (D) ngStyle
πŸ’¬ Discuss
βœ… Correct Answer: (C) *ngIf

Explanation: *ngIf adds or removes elements based on a condition.

Explanation by: Mr. Dubey
*ngIf adds or removes elements based on a condition.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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