A

Admin • 828.70K Points
Coach

Q. What is the purpose of the `*` symbol before Angular structural directives like `*ngIf`?

  • (A) It denotes a structural directive
  • (B) It denotes a style binding
  • (C) It denotes an event binding
  • (D) It denotes a pipe
  • Correct Answer - Option(A)
  • Views: 14
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
The `*` prefix tells Angular to treat it as a structural directive that changes the DOM layout.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.