mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-10 04:25:08 +00:00
navigation model for horizontal nav
This commit is contained in:
parent
903688ab43
commit
49b6ff7292
|
@ -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'
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user