fix(tab-ng): highlighted drawer item (#126)
This commit is contained in:
Родитель
48e608b519
Коммит
529f0b5013
|
@ -13,29 +13,29 @@ https://docs.nativescript.org/angular/ui/professional-ui-components/ng-SideDrawe
|
|||
|
||||
<ScrollView row="1" class="nt-drawer__body">
|
||||
<StackLayout>
|
||||
<GridLayout columns="auto, *" class="nt-drawer__list-item" [class.selected]="isComponentSelected('/home')" (tap)="onNavItemTap('/home')">
|
||||
<GridLayout columns="auto, *" class="nt-drawer__list-item" [class.-selected]="isComponentSelected('/home')" (tap)="onNavItemTap('/home')">
|
||||
<Label col="0" text="" class="nt-icon fas"></Label>
|
||||
<Label col="1" text="Home" class="p-r-10"></Label>
|
||||
</GridLayout>
|
||||
|
||||
<GridLayout columns="auto, *" class="nt-drawer__list-item" [class.selected]="isComponentSelected('/browse')" (tap)="onNavItemTap('/browse')">
|
||||
<GridLayout columns="auto, *" class="nt-drawer__list-item" [class.-selected]="isComponentSelected('/browse')" (tap)="onNavItemTap('/browse')">
|
||||
<Label col="0" text="" class="nt-icon far"></Label>
|
||||
<Label col="1" text="Browse" class="p-r-10"></Label>
|
||||
</GridLayout>
|
||||
|
||||
<GridLayout columns="auto, *" class="nt-drawer__list-item" [class.selected]="isComponentSelected('/search')" (tap)="onNavItemTap('/search')">
|
||||
<GridLayout columns="auto, *" class="nt-drawer__list-item" [class.-selected]="isComponentSelected('/search')" (tap)="onNavItemTap('/search')">
|
||||
<Label col="0" text="" class="nt-icon fas"></Label>
|
||||
<Label col="1" text="Search" class="p-r-10"></Label>
|
||||
</GridLayout>
|
||||
|
||||
<GridLayout columns="auto, *" class="nt-drawer__list-item" [class.selected]="isComponentSelected('/featured')" (tap)="onNavItemTap('/featured')">
|
||||
<GridLayout columns="auto, *" class="nt-drawer__list-item" [class.-selected]="isComponentSelected('/featured')" (tap)="onNavItemTap('/featured')">
|
||||
<Label col="0" text="" class="nt-icon fas"></Label>
|
||||
<Label col="1" text="Featured" class="p-r-10"></Label>
|
||||
</GridLayout>
|
||||
|
||||
<StackLayout class="hr"></StackLayout>
|
||||
|
||||
<GridLayout columns="auto, *" class="nt-drawer__list-item" [class.selected]="isComponentSelected('/settings')" (tap)="onNavItemTap('/settings')">
|
||||
<GridLayout columns="auto, *" class="nt-drawer__list-item" [class.-selected]="isComponentSelected('/settings')" (tap)="onNavItemTap('/settings')">
|
||||
<Label col="0" text="" class="nt-icon fas"></Label>
|
||||
<Label col="1" text="Settings" class="p-r-10"></Label>
|
||||
</GridLayout>
|
||||
|
|
Загрузка…
Ссылка в новой задаче