1 | import { QueryParamsHandling } from '@angular/router';
|
2 | import { MenuItem } from './menuitem';
|
3 | export interface MegaMenuItem {
|
4 | label?: string;
|
5 | icon?: string;
|
6 | command?: (event?: any) => void;
|
7 | url?: string;
|
8 | items?: MenuItem[][];
|
9 | expanded?: boolean;
|
10 | disabled?: boolean;
|
11 | visible?: boolean;
|
12 | target?: string;
|
13 | routerLinkActiveOptions?: any;
|
14 | separator?: boolean;
|
15 | badge?: string;
|
16 | badgeStyleClass?: string;
|
17 | style?: any;
|
18 | styleClass?: string;
|
19 | title?: string;
|
20 | id?: string;
|
21 | automationId?: any;
|
22 | tabindex?: string;
|
23 | routerLink?: any;
|
24 | queryParams?: {
|
25 | [k: string]: any;
|
26 | };
|
27 | fragment?: string;
|
28 | queryParamsHandling?: QueryParamsHandling;
|
29 | preserveFragment?: boolean;
|
30 | skipLocationChange?: boolean;
|
31 | replaceUrl?: boolean;
|
32 | state?: {
|
33 | [k: string]: any;
|
34 | };
|
35 | }
|