fuse-angular/src/app/navigation.model.ts

48 lines
1.2 KiB
TypeScript
Raw Normal View History

2017-08-22 12:55:48 +00:00
export class FuseNavigation
{
2017-09-11 09:58:24 +00:00
public verticalNavItems: any[];
public horizontalNavItems: any[];
2017-08-22 12:55:48 +00:00
constructor()
{
2017-09-11 09:58:24 +00:00
this.verticalNavItems = [
2017-08-22 12:55:48 +00:00
{
'title': 'APPS',
'type' : 'subheader'
},
{
'title': 'Sample',
'type' : 'nav-item',
'icon' : 'email',
'url' : '/sample',
'badge': {
'title': 25,
'bg' : '#F44336',
'fg' : '#FFFFFF'
}
}
];
2017-09-11 09:58:24 +00:00
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'
}
}
]
}
];
2017-08-22 12:55:48 +00:00
}
}