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

28 lines
566 B
TypeScript
Raw Permalink Normal View History

2024-07-16 15:23:22 +00:00
import { TemplateRef } from '@angular/core';
/**
* Defines valid templates in TieredMenu.
* @group Templates
*/
export interface TieredMenuTemplates {
/**
* Custom template of item.
*/
item(context: {
/**
* Item instance.
*/
$implicit: any;
/**
* Submenu control of the item.
*/
hasSubmenu: boolean;
}): TemplateRef<{
$implicit: any;
hasSubmenu: boolean;
}>;
/**
* Custom template of submenuicon.
*/
submenuicon(): TemplateRef<any>;
}