11< div class ="demo-card-container ">
2- < mat-checkbox [(ngModel)] =" outlined "> Use outlined cards</ mat-checkbox >
2+ < mat-checkbox (change) =" toggleAppearance() "> Use outlined cards</ mat-checkbox >
33
44<!-- TODO(jelbourn): re-add dividers and footers with progress bars once the MDC versions exist -->
5- < mat-card [class.mdc-card--outlined ] ="outlined ">
5+ < mat-card [appearance ] ="appearance ">
66 Card with only text content
77 </ mat-card >
88
9- < mat-card [class.mdc-card--outlined ] ="outlined ">
9+ < mat-card [appearance ] ="appearance ">
1010 < mat-card-content >
1111 Card with only < code > <mat-card-content></ code > and text content.
1212 </ mat-card-content >
1313 </ mat-card >
1414
15- < mat-card [class.mdc-card--outlined ] ="outlined ">
15+ < mat-card [appearance ] ="appearance ">
1616 < mat-card-subtitle > Subtitle</ mat-card-subtitle >
1717 < mat-card-title > Card with title and footer</ mat-card-title >
1818 < mat-card-content >
2525 </ mat-card-actions >
2626 </ mat-card >
2727
28- < mat-card [class.mdc-card--outlined ] ="outlined ">
28+ < mat-card [appearance ] ="appearance ">
2929 < mat-card-subtitle > Subtitle</ mat-card-subtitle >
3030 < mat-card-title > Card with title, footer, and inset-divider</ mat-card-title >
3131 < mat-card-content >
3939
4040 </ mat-card >
4141
42- < mat-card [class.mdc-card--outlined ] ="outlined ">
42+ < mat-card [appearance ] ="appearance ">
4343 < img mat-card-image src ="https://material.angularjs.org/latest/img/washedout.png ">
4444 < mat-card-title > Content Title</ mat-card-title >
4545 < mat-card-content >
5151 </ mat-card-actions >
5252 </ mat-card >
5353
54- < mat-card [class.mdc-card--outlined ] ="outlined ">
54+ < mat-card [appearance ] ="appearance ">
5555 < mat-card-header >
5656 < img mat-card-avatar >
5757 < mat-card-title > Header title</ mat-card-title >
6363 </ mat-card-content >
6464 </ mat-card >
6565
66- < mat-card class ="demo-card-blue mat-card-flat " [class.mdc-card--outlined ] ="outlined ">
66+ < mat-card class ="demo-card-blue mat-card-flat " [appearance ] ="appearance ">
6767 < mat-card-title > Easily customizable</ mat-card-title >
6868 < mat-card-actions >
6969 < button mat-button > First</ button >
7474 < hr >
7575 < h2 > Cards with media area</ h2 >
7676
77- < mat-card [class.mdc-card--outlined ] ="outlined ">
77+ < mat-card [appearance ] ="appearance ">
7878 < mat-card-title-group >
7979 < mat-card-title > Card</ mat-card-title >
8080 < mat-card-subtitle > Small</ mat-card-subtitle >
@@ -85,7 +85,7 @@ <h2>Cards with media area</h2>
8585 </ mat-card-content >
8686 </ mat-card >
8787
88- < mat-card [class.mdc-card--outlined ] ="outlined ">
88+ < mat-card [appearance ] ="appearance ">
8989 < mat-card-title-group >
9090 < mat-card-title > Card</ mat-card-title >
9191 < mat-card-subtitle > Medium</ mat-card-subtitle >
@@ -96,7 +96,7 @@ <h2>Cards with media area</h2>
9696 </ mat-card-content >
9797 </ mat-card >
9898
99- < mat-card [class.mdc-card--outlined ] ="outlined ">
99+ < mat-card [appearance ] ="appearance ">
100100 < mat-card-title-group >
101101 < mat-card-title > Card</ mat-card-title >
102102 < mat-card-subtitle > Large</ mat-card-subtitle >
@@ -107,7 +107,7 @@ <h2>Cards with media area</h2>
107107 </ mat-card-content >
108108 </ mat-card >
109109
110- < mat-card [class.mdc-card--outlined ] ="outlined ">
110+ < mat-card [appearance ] ="appearance ">
111111 < mat-card-title-group >
112112 < mat-card-title > Card</ mat-card-title >
113113 < mat-card-subtitle > Extra large</ mat-card-subtitle >
0 commit comments