We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Give MatCardContent a selector like MatDialogContent:
MatCardContent
MatDialogContent
components/src/material/dialog/dialog-content-directives.ts
Line 111 in 11a4ff0
so like:
selector: '[mat-card-content], mat-card-content, [matCardContent]',
So that when the content of the card's content is just a root element
<mat-card> <mat-card-title>My Tite</mat-card-title> <mat-card-content> <some-root-element></some-root-element> </mat-card-content> </mat-card>
vs
<mat-card> <mat-card-title>My Tite</mat-card-title> <some-root-element matCardContent></some-root-element> </mat-card>
there isn't un-necessary nesting
The text was updated successfully, but these errors were encountered:
feat(card): add card content selectors
40351be
issue angular#17487
fix(card): add card content selectors
f6a2b31
4f6c959
issue #17487
9b19e6a
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Feature Description
Give
MatCardContent
a selector likeMatDialogContent
:components/src/material/dialog/dialog-content-directives.ts
Line 111 in 11a4ff0
so like:
Use Case
So that when the content of the card's content is just a root element
vs
there isn't un-necessary nesting
The text was updated successfully, but these errors were encountered: