Icard/angular-clarity-master(work.../node_modules/primeng/megamenu/megamenu.interface.d.ts

32 lines
643 B
TypeScript
Raw Normal View History

2024-07-16 15:23:22 +00:00
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>;
}