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

39 lines (38 loc) 753 B
import { TemplateRef } from '@angular/core'; import { MenuItem } from 'primeng/api'; /** * Defines valid templates in Breadcumb. * @group Templates */ export interface BreadcumbTemplates { /** * Custom template of item. */ item(context: { /** * Data of the item. */ $implicit: MenuItem; }): TemplateRef<{ $implicit: MenuItem; }>; /** * Custom template of separator. */ separator(): TemplateRef<any>; } /** * Custom select event. * @see {@link Breadcrumb.onItemClick} * @group Events */ export interface BreadcrumbItemClickEvent { /** * Browser event. */ originalEvent: Event; /** * Selected menu item . */ item: MenuItem; }