-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(card): allow md-card-title and subtitle to be used as attributes (…
- Loading branch information
1 parent
7de316f
commit a200024
Showing
4 changed files
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
<ng-content select="[md-card-avatar], [mat-card-avatar]"></ng-content> | ||
<div class="mat-card-header-text"> | ||
<ng-content | ||
select="md-card-title, mat-card-title, md-card-subtitle, mat-card-subtitle"></ng-content> | ||
select="md-card-title, mat-card-title, md-card-subtitle, mat-card-subtitle, | ||
[md-card-title], [mat-card-title], [md-card-subtitle], [mat-card-subtitle]"></ng-content> | ||
</div> | ||
<ng-content></ng-content> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
<div> | ||
<ng-content | ||
select="md-card-title, mat-card-title, md-card-subtitle, mat-card-subtitle"></ng-content> | ||
select="md-card-title, mat-card-title, md-card-subtitle, mat-card-subtitle, | ||
[md-card-title], [mat-card-title], [md-card-subtitle], [mat-card-subtitle]"></ng-content> | ||
</div> | ||
<ng-content select="img"></ng-content> | ||
<ng-content></ng-content> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters