-
-
Notifications
You must be signed in to change notification settings - Fork 241
/
Copy pathhome.component.html
36 lines (35 loc) · 2.22 KB
/
home.component.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<ActionBar class="action-bar">
<Label class="action-bar-title" text="Home Component"></Label>
</ActionBar>
<GridLayout rows="auto, *">
<GridLayout row="0" rows="auto,auto,auto,auto,auto,auto">
<TextView text="Go To" editable="false"></TextView>
<GridLayout columns="auto,*,*" row="1">
<Button text="Tabs Page" automationText="Go To Tabs Page" [nsRouterLink]="['/tabs']"></Button>
<Button text="Tabs Page Outlets" automationText="Go To Tabs Page Outlets" col="1" [nsRouterLink]="['/tabs', { outlets: { playerTab: ['players'], teamTab: ['teams'] } }]"></Button>
<Button text="Back()" col="2" automationText="Back()" (tap)="back()"></Button>
</GridLayout>
<TextView text="Can go back" row="2" editable="false"></TextView>
<GridLayout row="3" columns="auto,*,*,*">
<Button text="CanGoBack(ActivatedRoute)" automationText="CanGoBack(ActivatedRoute)" (tap)="canGoBack()"></Button>
<Button text="CanGoBack(Players)" automationText="CanGoBack(Players)" col="1" (tap)="canGoBackPlayers()"></Button>
<Button text="CanGoBack(Teams)" automationText="CanGoBack(Teams)" col="2" (tap)="canGoBackTeams()"></Button>
<Button text="CanGoBack(Both)" automationText="CanGoBack(Both)" col="3" (tap)="canGoBackBoth()"></Button>
</GridLayout>
<TextView text="Back to" row="4" editable="false"></TextView>
<GridLayout row="5" columns="auto,*,*,*">
<Button text="Back(ActivatedRoute)" automationText="Back(ActivatedRoute)" (tap)="backActivatedRoute()"></Button>
<Button text="Back(Players)" automationText="Back(Players)" col="1" (tap)="backPlayers()"></Button>
<Button text="Back(Teams)" automationText="Back(Teams)" col="2" (tap)="backTeams()"></Button>
<Button text="Back(Both)" automationText="Back(Both)" col="3" (tap)="backBoth()"></Button>
</GridLayout>
</GridLayout>
<GridLayout row="1" columns="*,*">
<GridLayout col="0">
<page-router-outlet name="playerTab"></page-router-outlet>
</GridLayout>
<GridLayout col="1">
<page-router-outlet name="teamTab"></page-router-outlet>
</GridLayout>
</GridLayout>
</GridLayout>