menuitem.d.ts 566 B

12345678910111213141516171819202122232425
  1. export interface MenuItem {
  2. label?: string;
  3. icon?: string;
  4. command?: (event?: any) => void;
  5. url?: string;
  6. routerLink?: any;
  7. queryParams?: {
  8. [k: string]: any;
  9. };
  10. items?: MenuItem[] | MenuItem[][];
  11. expanded?: boolean;
  12. disabled?: boolean;
  13. visible?: boolean;
  14. target?: string;
  15. routerLinkActiveOptions?: any;
  16. separator?: boolean;
  17. badge?: string;
  18. badgeStyleClass?: string;
  19. style?: any;
  20. styleClass?: string;
  21. title?: string;
  22. id?: string;
  23. automationId?: any;
  24. tabindex?: string;
  25. }