File

projects/rebirth-ng/src/lib/menu-bar/menu-bar.model.ts

Index

Properties

Properties

home
home: string | any[]
Type : string | any[]
Optional
homeQueryParams
homeQueryParams: any
Type : any
Optional
logo
logo: string
Type : string
Optional
menus
menus: MenuItem[]
Type : MenuItem[]
Optional
rightMenus
rightMenus: MenuItem[]
Type : MenuItem[]
Optional
title
title: string
Type : string
Optional
import { TemplateRef } from '@angular/core';
export interface MenuItem {
  id?: string | number;
  text?: string;
  icon?: string;
  url?: string;
  router?: any[];
  queryParams?: any;
  handler?: (item: MenuItem) => void;
  itemTemplate?: TemplateRef<any>;
  target?: '_blank' | '_self' | '_parent' | '_top' | any;
  divider?: boolean;
  header?: boolean;
  cssClass?: string;
  children?: MenuItem[];
}

export interface MenuBar {
  logo?: string;
  title?: string;
  home?: string | any[];
  homeQueryParams?: any;
  menus?: MenuItem[];
  rightMenus?: MenuItem[];
}

results matching ""

    No results matching ""