A

Admin • 833K Points
Coach

Q. What does the `ng-content` directive do?

  • (A) Allows content projection
  • (B) Projects animations
  • (C) Binds form content
  • (D) Defines router outlet
  • Correct Answer - Option(A)
  • Views: 19
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

`ng-content` is used to project external content into a component’s template.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.