UNPKG

primeng

Version:

PrimeNG is an open source UI library for Angular featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeB

41 lines (40 loc) 828 B
import { TemplateRef } from '@angular/core'; import { MenuItem } from 'primeng/api'; /** * Defines valid templates in Menubar. * @group Templates */ export interface MenubarTemplates { /** * Custom item template. */ item(context: { /** * Item instance. */ $implicit: MenuItem; /** * Whether root or not */ root: boolean; }): TemplateRef<{ $implicit: MenuItem; root: boolean; }>; /** * Custom template of start. */ start(): TemplateRef<any>; /** * Custom template of end. */ end(): TemplateRef<any>; /** * Custom template of menuicon. */ menuicon(): TemplateRef<any>; /** * Custom template of submenuicon. */ submenuicon(): TemplateRef<any>; }