A

Admin • 832.27K Points
Coach

Q. Which Angular directive is used for conditional rendering?

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

Explanation by: Admin

*ngIf is used to include or exclude 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.