mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
019c2d2f14
This commit fixes the layout of the page and adds a precision on what selectors are supported by ng-content See #50511 PR Close #50534
385 B
385 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.
Angular supports selectors for any combination of tag name, attribute, CSS class, and the :not pseudo-class.