A

Admin • 833.24K Points
Coach

Q. Which structural directive is used to conditionally include an element in the DOM?

  • (A) *ngIf
  • (B) *ngFor
  • (C) *ngSwitchCase
  • (D) *ngStyle
  • Correct Answer - Option(A)
  • Views: 28
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

*ngIf adds or removes an element based on a condition.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.