πŸ“Š Angular
Q. Which Angular directive is used for conditional rendering?
  • (A) *ngIf
  • (B) *ngFor
  • (C) *ngSwitchCase
  • (D) *ngModel
πŸ’¬ Discuss
βœ… Correct Answer: (A) *ngIf

Explanation: *ngIf is used to include or exclude an element based on a condition.

Explanation by: Mr. Dubey
*ngIf is used to include or exclude an element based on a condition.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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