33 < h2 class ="sample-title "> Angular Card</ h2 >
44
55 <!--New York City Card Begins-->
6- < article class ="card ">
7- < igx-card class ="my-cool-card ">
6+ < igx-card class ="my-cool-card ">
87 @for(section of sectionOrder; track section) {
98 < ng-container >
109 @if(section === 'media' && !properties.hideMedia) {
@@ -33,27 +32,26 @@ <h2 igxCardHeaderSubtitle>{{ cards[0].subtitle }}</h2>
3332 @if(section === 'actions' && !properties.hideActions) {
3433 < igx-card-actions >
3534 < button igxButton igxRipple > Read More</ button >
35+
3636 @for(icon of cards[0].icons; track icon) {
37- < span
38- igxIconButton ="flat "
39- igxRipple
40- [igxRippleCentered] ="true "
41- >
42- < igx-icon > {{icon}}</ igx-icon >
43- </ span >
37+ < span
38+ igxIconButton ="flat "
39+ igxRipple
40+ [igxRippleCentered] ="true "
41+ >
42+ < igx-icon > {{icon}}</ igx-icon >
43+ </ span >
4444 }
4545 </ igx-card-actions >
4646 }
4747 </ ng-container >
4848 }
4949 </ igx-card >
50- </ article >
5150 <!--New York City Card End-->
5251
53- < article class ="card ">
54- < igx-card [horizontal] ="true ">
52+ < igx-card [horizontal] ="true ">
5553 @if(!properties.hideActions) {
56- < igx-card-actions layout =" justify ">
54+ < igx-card-actions [ layout] =" properties.justifyActions? ' justify': null ">
5755 @for(icon of cards[1].icons; track icon) {
5856 < button
5957 igxIconButton ="flat "
@@ -95,10 +93,8 @@ <h5 igxCardHeaderSubtitle>{{cards[1].subtitle}}</h5>
9593 </ igx-card-media >
9694 }
9795 </ igx-card >
98- </ article >
9996
100- < article class ="card ">
101- < igx-card >
97+ < igx-card >
10298 @if(!properties.hideHeader) {
10399 < igx-card-header >
104100 @if(!hideTitle) {
@@ -118,7 +114,7 @@ <h5 igxCardHeaderSubtitle>{{cards[1].subtitle}}</h5>
118114 < igx-divider type ="dashed " [middle] ="true "> </ igx-divider >
119115
120116 @if(!properties.hideActions) {
121- < igx-card-actions layout =" justify ">
117+ < igx-card-actions [ layout] =" properties.justifyActions? ' justify': null ">
122118 @for(icon of cards[1].icons; track icon) {
123119 < button
124120 igxIconButton ="flat "
@@ -131,11 +127,9 @@ <h5 igxCardHeaderSubtitle>{{cards[1].subtitle}}</h5>
131127 </ igx-card-actions >
132128 }
133129 </ igx-card >
134- </ article >
135130
136131 <!--Melo Di Card Begins-->
137- < article class ="card ">
138- < igx-card [horizontal] ="true ">
132+ < igx-card [horizontal] ="true ">
139133 < div
140134 style ="
141135 display: flex;
@@ -175,16 +169,14 @@ <h5 igxCardHeaderSubtitle>{{ cards[2].subtitle }}</h5>
175169 </ igx-card-media >
176170 }
177171 </ igx-card >
178- </ article >
179172 <!--Melo Di Card Ends-->
180173 </ article >
181174
182175 < article class ="wc-cards ">
183176 < h2 class ="sample-title "> WC Card</ h2 >
184177
185178 <!--New York City Card Begins-->
186- < article class ="card ">
187- < igc-card >
179+ < igc-card >
188180 @for(section of sectionOrder; track section) {
189181 < ng-container >
190182 @if(section === 'media' && !properties.hideMedia) {
@@ -234,11 +226,9 @@ <h2 class="sample-title">WC Card</h2>
234226 </ ng-container >
235227 }
236228 </ igc-card >
237- </ article >
238229 <!--New York City Card End-->
239230
240- < article class ="card ">
241- < igc-card style ="flex-direction: row ">
231+ < igc-card style ="flex-direction: row ">
242232 @if(!properties.hideActions) {
243233 < igc-card-actions orientation ="vertical ">
244234 @for(icon of cards[1].icons; track icon) {
@@ -273,10 +263,8 @@ <h2 class="sample-title">WC Card</h2>
273263 </ igc-card-media >
274264 }
275265 </ igc-card >
276- </ article >
277266
278- < article class ="card ">
279- < igc-card >
267+ < igc-card >
280268 < div style ="
281269 display: flex;
282270 ">
@@ -319,11 +307,9 @@ <h2 class="sample-title">WC Card</h2>
319307 </ igc-card-actions >
320308 }
321309 </ igc-card >
322- </ article >
323310
324311 <!--Melo Di Card Begins-->
325- < article class ="card ">
326- < igc-card style ="flex-direction: row ">
312+ < igc-card style ="flex-direction: row ">
327313 < div
328314 style ="
329315 display: flex;
@@ -364,7 +350,6 @@ <h2 class="sample-title">WC Card</h2>
364350 </ igc-card-media >
365351 }
366352 </ igc-card >
367- </ article >
368353 <!--Melo Di Card Ends-->
369354 </ article >
370355
0 commit comments