A

Admin • 802.91K Points
Coach

Q. What does `ng-content` do?

  • (A) Projects content from a parent component into a child component
  • (B) Declares a module
  • (C) Exports a service
  • (D) Validates an input field
  • Correct Answer - Option(A)
  • Views: 5
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
`ng-content` is used for content projection in Angular components.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.