W3cubDocs

/Angular

<ng-content>

element

The <ng-content> element specifies where to project content inside a component template.

Attributes

Name Description
select="selector"

Only select elements from the projected content that match the given CSS selector.

Angular supports selectors for any combination of tag name, attribute, CSS class, and the :not pseudo-class.

© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/core/ng-content