UNPKG

@progress/kendo-angular-grid

Version:

Kendo UI Grid for Angular - high performance data grid with paging, filtering, virtualization, CRUD, and more.

30 lines (29 loc) 1.5 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2026 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"; /** * Renders the history item content. * * To define the history item template, nest a `<ng-template>` tag with the `kendoGridSmartBoxHistoryItemTemplate` directive inside the component tag. * * The template context is set to the current history item. Use the `let-item` directive to reference the current history item. * * @example * ```html * <kendo-smartbox> * <ng-template kendoGridSmartBoxHistoryItemTemplate let-item> * <kendo-icon-wrapper name="clock" [svgIcon]="clockIcon"></kendo-icon-wrapper> * <span>{{item.text}} ({{ item.timestamp | date: 'shortTime' }})</span> * </ng-template> * </kendo-smartbox> * ``` */ export declare class GridSmartBoxHistoryItemTemplateDirective { templateRef: TemplateRef<any>; constructor(templateRef: TemplateRef<any>); static ɵfac: i0.ɵɵFactoryDeclaration<GridSmartBoxHistoryItemTemplateDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<GridSmartBoxHistoryItemTemplateDirective, "[kendoGridSmartBoxHistoryItemTemplate]", never, {}, {}, never, never, true, never>; }