File tree Expand file tree Collapse file tree 1 file changed +21
-22
lines changed
angular-tutorial/src/features/details Expand file tree Collapse file tree 1 file changed +21
-22
lines changed Original file line number Diff line number Diff line change 11< ActionBar [title] ="flick?.title "> </ ActionBar >
22
33< ScrollView height ="100% ">
4- < StackLayout >
5- < Image
6- margin ="0 "
7- stretch ="aspectFill "
8- [src] ="flick?.image "> </ Image >
9- < StackLayout padding ="10 20 ">
10- < ng-container *ngFor ="let detail of flick?.details ">
11- < Label
12- marginTop ="15 "
13- fontSize ="16 "
14- fontWeight ="700 "
15- class ="text-primary "
16- textWrap ="true "
17- [text] ="detail.title "> </ Label >
18- < Label
19- fontSize ="14 "
20- class ="text-secondary "
21- textWrap ="true "
22- [text] ="detail.body "> </ Label >
23- </ ng-container >
24- </ StackLayout >
4+ < StackLayout >
5+ < image margin ="0 " stretch ="aspectFill " [src] ="flick?.image "> </ image >
6+ @for (detail of flick?.details; track $index) {
7+ < StackLayout padding ="10 20 ">
8+ < label
9+ marginTop ="15 "
10+ fontSize ="16 "
11+ fontWeight ="700 "
12+ class ="text-primary "
13+ textWrap ="true "
14+ [text] ="detail.title "
15+ > </ label >
16+ < label
17+ fontSize ="14 "
18+ class ="text-secondary "
19+ textWrap ="true "
20+ [text] ="detail.body "
21+ > </ label >
2522 </ StackLayout >
26- </ ScrollView >
23+ }
24+ </ StackLayout >
25+ </ ScrollView >
You can’t perform that action at this time.
0 commit comments