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; } /** * Custom select event. * @see {@link Breadcrumb.onItemClick} * @group Events */ export interface BreadcrumbItemClickEvent { /** * Browser event. */ originalEvent: Event; /** * Selected menu item . */ item: MenuItem; }