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

24 lines
489 B
TypeScript

import { TemplateRef } from '@angular/core';
import { MenuItem } from 'primeng/api';
/**
* Defines valid templates in PanelMenu.
* @group Templates
*/
export interface PanelMenuTemplates {
/**
* Custom item template.
*/
item(context: {
/**
* Item instance.
*/
$implicit: MenuItem;
}): TemplateRef<{
$implicit: MenuItem;
}>;
/**
* Custom template of submenuicon.
*/
submenuicon(): TemplateRef<any>;
}