Skip to content

Commit eb61b25

Browse files
fix(tutorial): fix elements case (#103)
1 parent b9fcecc commit eb61b25

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

tutorial/angular.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ Next, open your `home.component.html` and add the `ListView` component:
372372
<ListView height="100%" separatorColor="transparent" [items]="flicks">
373373
<ng-template let-item="item">
374374
<StackLayout>
375-
<label [text]="item.title"></label>
375+
<Label [text]="item.title"></Label>
376376
</StackLayout>
377377
</ng-template>
378378
</ListView>
@@ -438,23 +438,23 @@ As you can see in the image above, each card is made up of 3 components, the pre
438438
margin="5 10"
439439
padding="0"
440440
>
441-
<image row="0" margin="0" stretch="aspectFill" [src]="item.image"></image>
442-
<label
441+
<Image row="0" margin="0" stretch="aspectFill" [src]="item.image"></Image>
442+
<Label
443443
row="1"
444444
margin="10 10 0 10"
445445
fontWeight="700"
446446
class="text-primary"
447447
fontSize="18"
448448
[text]="item.title"
449-
></label>
450-
<label
449+
></Label>
450+
<Label
451451
row="2"
452452
margin="0 10 10 10"
453453
class="text-secondary"
454454
fontSize="14"
455455
textWrap="true"
456456
[text]="item.description"
457-
></label>
457+
></Label>
458458
</GridLayout>
459459
</ng-template>
460460
</ListView>
@@ -626,23 +626,23 @@ Next, let's add the tap event to the listview items. Open `home.component.html`
626626
margin="5 10"
627627
padding="0"
628628
>
629-
<image row="0" margin="0" stretch="aspectFill" [src]="item.image"></image>
630-
<label
629+
<Image row="0" margin="0" stretch="aspectFill" [src]="item.image"></Image>
630+
<Label
631631
row="1"
632632
margin="10 10 0 10"
633633
fontWeight="700"
634634
class="text-primary"
635635
fontSize="18"
636636
[text]="item.title"
637-
></label>
638-
<label
637+
></Label>
638+
<Label
639639
row="2"
640640
margin="0 10 10 10"
641641
class="text-secondary"
642642
fontSize="14"
643643
textWrap="true"
644644
[text]="item.description"
645-
></label>
645+
></Label>
646646
</GridLayout>
647647
</ng-template>
648648
</ListView>

0 commit comments

Comments
 (0)