mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-10 20:45:08 +00:00
48 lines
1.2 KiB
TypeScript
48 lines
1.2 KiB
TypeScript
export class FuseNavigation
|
|
{
|
|
public verticalNavItems: any[];
|
|
public horizontalNavItems: any[];
|
|
|
|
constructor()
|
|
{
|
|
this.verticalNavItems = [
|
|
{
|
|
'title': 'APPS',
|
|
'type' : 'subheader'
|
|
},
|
|
{
|
|
'title': 'Sample',
|
|
'type' : 'nav-item',
|
|
'icon' : 'email',
|
|
'url' : '/sample',
|
|
'badge': {
|
|
'title': 25,
|
|
'bg' : '#F44336',
|
|
'fg' : '#FFFFFF'
|
|
}
|
|
}
|
|
];
|
|
|
|
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'
|
|
}
|
|
}
|
|
]
|
|
}
|
|
];
|
|
}
|
|
}
|