Skip to content

Commit 019c2d2

Browse files
JeanMechedylhunn
authored andcommitted
docs: selector precisions (#50534)
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
1 parent 84b6ef0 commit 019c2d2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
The `<ng-content>` element specifies where to project content inside a component template.
22

3-
&commat;elementAttribute select="selector"
3+
@elementAttribute select="selector"
44

55
Only select elements from the projected content that match the given CSS `selector`.
6+
7+
Angular supports [selectors](https://developer.mozilla.org/docs/Web/CSS/CSS_Selectors) for any combination of tag name, attribute, CSS class, and the `:not` pseudo-class.

0 commit comments

Comments
 (0)