πŸ“Š Angular
Q. Which directive is used to switch between templates based on a condition?
  • (A) ngSwitch
  • (B) ngIf
  • (C) ngClass
  • (D) ngStyle
πŸ’¬ Discuss
βœ… Correct Answer: (A) ngSwitch

Explanation: `ngSwitch` allows rendering of templates based on matching expressions.

Explanation by: Mr. Dubey
`ngSwitch` allows rendering of templates based on matching expressions.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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