-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
hrueger/AGLight
#112Labels
featureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fix
Description
Feature Description
Give MatCardContent a selector like MatDialogContent:
| selector: `[mat-dialog-content], mat-dialog-content, [matDialogContent]`, |
so like:
selector: '[mat-card-content], mat-card-content, [matCardContent]',Use Case
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
Metadata
Metadata
Assignees
Labels
featureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fix