fix(tab-ng): highlighted drawer item (#126)

This commit is contained in:
Manol Donev 2019-10-28 18:56:03 +02:00 коммит произвёл GitHub
Родитель 48e608b519
Коммит 529f0b5013
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -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="&#xf015;" 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="&#xf1ea;" 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="&#xf002;" 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="&#xf005;" 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="&#xf013;" class="nt-icon fas"></Label>
<Label col="1" text="Settings" class="p-r-10"></Label>
</GridLayout>