A

Admin • 833K Points
Coach

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
  • Correct Answer - Option(A)
  • Views: 26
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

*ngIf conditionally adds or removes elements from the DOM.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.