navigation model for horizontal nav

This commit is contained in:
Sercan Yemen 2017-09-11 12:58:24 +03:00
parent 903688ab43
commit 49b6ff7292

View File

@ -1,10 +1,11 @@
export class FuseNavigation
{
public items: any[];
public verticalNavItems: any[];
public horizontalNavItems: any[];
constructor()
{
this.items = [
this.verticalNavItems = [
{
'title': 'APPS',
'type' : 'subheader'
@ -21,5 +22,26 @@ export class FuseNavigation
}
}
];
this.horizontalNavItems = [
{
'title' : 'Apps',
'icon' : 'apps',
'type' : 'nav-collapse',
'children': [
{
'title': 'Sample',
'type' : 'nav-item',
'icon' : 'email',
'url' : '/sample',
'badge': {
'title': 25,
'bg' : '#F44336',
'fg' : '#FFFFFF'
}
}
]
}
];
}
}