UNPKG

@progress/kendo-angular-menu

Version:

Kendo UI Angular Menu component

29 lines (28 loc) 1.37 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { TemplateRef } from '@angular/core'; import * as i0 from "@angular/core"; /** * Represents a template for the content of the ContextMenu. To define a template, nest an `<ng-template>` * tag with the `kendoContextMenuTemplate` directive inside a `<kendo-contextmenu>` component * ([more information and examples]({% slug templates_contextmenu %})). * * <demo metaUrl="menus/context-menu/template/" height="200"></demo> * * @example * ```html * <kendo-contextmenu> * <ng-template kendoContextMenuTemplate let-item="item"> * <span>{{ item.text }}</span> * </ng-template> * </kendo-contextmenu> * ``` */ export declare class ContextMenuTemplateDirective { templateRef: TemplateRef<any>; constructor(templateRef: TemplateRef<any>); static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuTemplateDirective, [{ optional: true; }]>; static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuTemplateDirective, "[kendoContextMenuTemplate]", never, {}, {}, never, never, true, never>; }