src/ui-shell/header/header-navigation-items.interface.ts
Used for both HeaderMenus and HeaderItems in the header navigation to generate items and menus through a model.
Properties |
|
| content |
content:
|
Type : string
|
| Optional |
| href |
href:
|
Type : string
|
| Optional |
| isCurrentPage |
isCurrentPage:
|
Type : boolean
|
| Optional |
| menuItems |
menuItems:
|
Type : HeaderItemInterface[]
|
| Optional |
| route |
route:
|
Type : any[]
|
| Optional |
| routeExtras |
routeExtras:
|
Type : any[]
|
| Optional |
| title |
title:
|
Type : string
|
| Optional |
| trigger |
trigger:
|
Type : "click" | "mouseover"
|
| Optional |
| type |
type:
|
Type : "menu" | "item"
|
export interface NavigationItem {
type: "menu" | "item";
title?: string;
href?: string;
trigger?: "click" | "mouseover";
route?: any[];
routeExtras?: any[];
content?: string;
isCurrentPage?: boolean;
menuItems?: HeaderItemInterface[];
}
export interface HeaderItemInterface {
href?: string;
route?: any[];
routeExtras?: any[];
content?: string;
}