diff --git a/src/@fuse/components/navigation/horizontal/components/basic/basic.component.html b/src/@fuse/components/navigation/horizontal/components/basic/basic.component.html index a8ce9002..70a1bbd4 100644 --- a/src/@fuse/components/navigation/horizontal/components/basic/basic.component.html +++ b/src/@fuse/components/navigation/horizontal/components/basic/basic.component.html @@ -11,7 +11,8 @@ [ngClass]="{'fuse-horizontal-navigation-item-active-forced': item.active}" [routerLink]="[item.link]" [routerLinkActive]="'fuse-horizontal-navigation-item-active'" - [routerLinkActiveOptions]="isActiveMatchOptions"> + [routerLinkActiveOptions]="isActiveMatchOptions" + [matTooltip]="item.tooltip || ''"> @@ -20,7 +21,8 @@ class="fuse-horizontal-navigation-item" *ngIf="item.link && item.externalLink && !item.function && !item.disabled" [href]="item.link" - [target]="item.target || '_self'"> + [target]="item.target || '_self'" + [matTooltip]="item.tooltip || ''"> @@ -29,6 +31,7 @@ class="fuse-horizontal-navigation-item" *ngIf="!item.link && item.function && !item.disabled" [ngClass]="{'fuse-horizontal-navigation-item-active-forced': item.active}" + [matTooltip]="item.tooltip || ''" (click)="item.function(item)"> @@ -41,6 +44,7 @@ [routerLink]="[item.link]" [routerLinkActive]="'fuse-horizontal-navigation-item-active'" [routerLinkActiveOptions]="isActiveMatchOptions" + [matTooltip]="item.tooltip || ''" (click)="item.function(item)"> @@ -51,6 +55,7 @@ *ngIf="item.link && item.externalLink && item.function && !item.disabled" [href]="item.link" [target]="item.target || '_self'" + [matTooltip]="item.tooltip || ''" (click)="item.function(item)" mat-menu-item> @@ -60,7 +65,8 @@
+ [ngClass]="{'fuse-horizontal-navigation-item-active-forced': item.active}" + [matTooltip]="item.tooltip || ''">
diff --git a/src/@fuse/components/navigation/horizontal/components/branch/branch.component.html b/src/@fuse/components/navigation/horizontal/components/branch/branch.component.html index 29fd9350..7b9af9a1 100644 --- a/src/@fuse/components/navigation/horizontal/components/branch/branch.component.html +++ b/src/@fuse/components/navigation/horizontal/components/branch/branch.component.html @@ -74,7 +74,8 @@
+ 'fuse-horizontal-navigation-item-active-forced': item.active}" + [matTooltip]="item.tooltip || ''"> boolean; active?: boolean; disabled?: boolean; + tooltip?: string; link?: string; externalLink?: boolean; target?: diff --git a/src/@fuse/components/navigation/vertical/components/aside/aside.component.html b/src/@fuse/components/navigation/vertical/components/aside/aside.component.html index c78997cb..3440a7e5 100644 --- a/src/@fuse/components/navigation/vertical/components/aside/aside.component.html +++ b/src/@fuse/components/navigation/vertical/components/aside/aside.component.html @@ -7,7 +7,8 @@ class="fuse-vertical-navigation-item" [ngClass]="{'fuse-vertical-navigation-item-active': active, 'fuse-vertical-navigation-item-disabled': item.disabled, - 'fuse-vertical-navigation-item-active-forced': item.active}"> + 'fuse-vertical-navigation-item-active-forced': item.active}" + [matTooltip]="item.tooltip || ''"> + [routerLinkActiveOptions]="isActiveMatchOptions" + [matTooltip]="item.tooltip || ''"> @@ -20,7 +21,8 @@ class="fuse-vertical-navigation-item" *ngIf="item.link && item.externalLink && !item.function && !item.disabled" [href]="item.link" - [target]="item.target || '_self'"> + [target]="item.target || '_self'" + [matTooltip]="item.tooltip || ''"> @@ -29,6 +31,7 @@ class="fuse-vertical-navigation-item" *ngIf="!item.link && item.function && !item.disabled" [ngClass]="{'fuse-vertical-navigation-item-active-forced': item.active}" + [matTooltip]="item.tooltip || ''" (click)="item.function(item)">
@@ -41,6 +44,7 @@ [routerLink]="[item.link]" [routerLinkActive]="'fuse-vertical-navigation-item-active'" [routerLinkActiveOptions]="isActiveMatchOptions" + [matTooltip]="item.tooltip || ''" (click)="item.function(item)"> @@ -51,6 +55,7 @@ *ngIf="item.link && item.externalLink && item.function && !item.disabled" [href]="item.link" [target]="item.target || '_self'" + [matTooltip]="item.tooltip || ''" (click)="item.function(item)"> @@ -59,14 +64,16 @@
+ [ngClass]="{'fuse-vertical-navigation-item-active-forced': item.active}" + [matTooltip]="item.tooltip || ''">
+ *ngIf="item.disabled" + [matTooltip]="item.tooltip || ''">
diff --git a/src/@fuse/components/navigation/vertical/components/collapsable/collapsable.component.html b/src/@fuse/components/navigation/vertical/components/collapsable/collapsable.component.html index bd8df37a..a24a299e 100644 --- a/src/@fuse/components/navigation/vertical/components/collapsable/collapsable.component.html +++ b/src/@fuse/components/navigation/vertical/components/collapsable/collapsable.component.html @@ -6,6 +6,7 @@