UNPKG

@progress/kendo-angular-layout

Version:

Kendo UI for Angular Layout Package - a collection of components to create professional application layoyts

30 lines (29 loc) 1.57 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"; /** * Specifies the body of each timeline card. To define a body template, nest an `<ng-template>` tag * with the `kendoTimelineCardBodyTemplate` directive inside the `<kendo-timeline>` tag. * * The following values are available as context variables: * - `let-event="event"` (`TimelineEvent`)&mdash;The current card's event. Also available as implicit context variable. * - `let-index="index"` (`number`)&mdash;The current event index. * * @example * ```html * <kendo-timeline [events]="events"> * <ng-template kendoTimelineCardBodyTemplate let-event let-index="index"> * Component for the body of the card with index {{ index }} and event {{ event.title }}. * </ng-template> * </kendo-timeline> * ``` */ export declare class TimelineCardBodyTemplateDirective { templateRef: TemplateRef<any>; constructor(templateRef: TemplateRef<any>); static ɵfac: i0.ɵɵFactoryDeclaration<TimelineCardBodyTemplateDirective, [{ optional: true; }]>; static ɵdir: i0.ɵɵDirectiveDeclaration<TimelineCardBodyTemplateDirective, "[kendoTimelineCardBodyTemplate]", never, {}, {}, never, never, true, never>; }