Skip to content

Commit 8a66e9e

Browse files
author
farfromrefug
committed
chore(demo): angular template fix
1 parent 3d8605d commit 8a66e9e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

demo-snippets/ng/swipe-menu/swipe-menu.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121
>
2222
<Gridlayout rows="*, auto" [backgroundColor]="item.color" class="item" mainContent width="100%">
2323
<Stacklayout row="1">
24-
<Label row="1" [text]="item.name" class="title" />
25-
<Label row="1" [text]="item.color" class="subtitle" />
24+
<Label row="1" [text]="item.name" class="title" > </Label>
25+
<Label row="1" [text]="item.color" class="subtitle" > </Label>
2626
</Stacklayout>
2727
</Gridlayout>
2828
<Stacklayout leftDrawer orientation="horizontal" width="200">
29-
<Label [text]="item.menuOpened ? 'opened' : 'a'" width="100" height="100%" backgroundColor="red" textAlignment="center" />
30-
<Label text="b" width="100" height="100%" backgroundColor="blue" textAlignment="center" />
29+
<Label [text]="item.menuOpened ? 'opened' : 'a'" width="100" height="100%" backgroundColor="red" textAlignment="center" > </Label>
30+
<Label text="b" width="100" height="100%" backgroundColor="blue" textAlignment="center" > </Label>
3131
</Stacklayout>
3232
</SwipeMenu>
3333
</ng-template>

0 commit comments

Comments
 (0)