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
32 lines (31 loc) • 643 B
TypeScript
import { TemplateRef } from '@angular/core';
import { MenuItem } from 'primeng/api';
/**
* Defines valid templates in MegaMenu.
* @group Templates
*/
export interface MegaMenuTemplates {
/**
* Custom item template.
*/
item(context: {
/**
* Item instance.
*/
$implicit: MenuItem;
}): TemplateRef<{
$implicit: MenuItem;
}>;
/**
* Custom template of start.
*/
start(): TemplateRef<any>;
/**
* Custom template of submenuicon.
*/
submenuicon(): TemplateRef<any>;
/**
* Custom template of end.
*/
end(): TemplateRef<any>;
}