(docs) Added docs about navigation tooltip

This commit is contained in:
sercan 2021-06-20 21:29:37 +03:00
parent f4d737d3a3
commit 0c0ef40de3
2 changed files with 14 additions and 0 deletions

View File

@ -1135,6 +1135,7 @@ export const compactNavigation: FuseNavigationItem[] = [
{
id : 'dashboards',
title : 'Dashboards',
tooltip : 'Dashboards',
type : 'aside',
icon : 'heroicons_outline:home',
children: [] // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation
@ -1142,6 +1143,7 @@ export const compactNavigation: FuseNavigationItem[] = [
{
id : 'apps',
title : 'Apps',
tooltip : 'Apps',
type : 'aside',
icon : 'heroicons_outline:qrcode',
children: [] // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation
@ -1149,6 +1151,7 @@ export const compactNavigation: FuseNavigationItem[] = [
{
id : 'pages',
title : 'Pages',
tooltip : 'Pages',
type : 'aside',
icon : 'heroicons_outline:document-duplicate',
children: [] // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation
@ -1156,6 +1159,7 @@ export const compactNavigation: FuseNavigationItem[] = [
{
id : 'user-interface',
title : 'UI',
tooltip : 'UI',
type : 'aside',
icon : 'heroicons_outline:collection',
children: [] // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation
@ -1163,6 +1167,7 @@ export const compactNavigation: FuseNavigationItem[] = [
{
id : 'navigation-features',
title : 'Navigation',
tooltip : 'Navigation',
type : 'aside',
icon : 'heroicons_outline:menu',
children: [] // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation

View File

@ -94,6 +94,7 @@
hidden?: (item: FuseNavigationItem) => boolean;
active?: boolean;
disabled?: boolean;
tooltip?: string;
link?: string;
externalLink?: boolean;
externalLink?: boolean;
@ -189,6 +190,14 @@
Whether the navigation item is disabled.
</td>
</tr>
<tr>
<td class="font-mono text-md text-secondary">
<div>tooltip</div>
</td>
<td>
Tooltip to show on item hover. Empty string will remove the tooltip.
</td>
</tr>
<tr>
<td class="font-mono text-md text-secondary">
<div>link</div>