angular-docs-cn/aio/content/special-elements/core/ng-content.md

214 B

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

@elementAttribute select="selector"

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