@progress/kendo-angular-scheduler
Version:
Kendo UI Scheduler Angular - Outlook or Google-style angular scheduler calendar. Full-featured and customizable embedded scheduling from the creator developers trust for professional UI components.
36 lines (35 loc) • 1.89 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* 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";
/**
* Use this directive to customize the time header in the **Agenda** view of the Scheduler.
*
* To define a time template, nest an `<ng-template>` tag with the `kendoSchedulerAgendaTimeTemplate` directive inside the
* `<kendo-scheduler>` or `<kendo-scheduler-agenda-view>` component ([see example](slug:templates_scheduler#toc-agenda-times)).
*
* The available fields in the template context are:
* - `start`—The start date of the event.
* - `end`—The end date of the event.
* - `title`—The title of the event.
* - `description`—The description of the event.
* - `isAllDay`—A Boolean value which indicates if the event is all-day.
* - `resources`—The resources of the event.
*
* @example
* ```html
* <kendo-scheduler-agenda-view>
* <ng-template kendoSchedulerAgendaTimeTemplate let-start="start" let-end="end" let-title="title" let-description="description" let-isAllDay="isAllDay" let-resources="resources">
* <!-- custom time header -->
* </ng-template>
* </kendo-scheduler-agenda-view>
* ```
*/
export declare class AgendaTimeTemplateDirective {
templateRef: TemplateRef<any>;
constructor(templateRef: TemplateRef<any>);
static ɵfac: i0.ɵɵFactoryDeclaration<AgendaTimeTemplateDirective, [{ optional: true; }]>;
static ɵdir: i0.ɵɵDirectiveDeclaration<AgendaTimeTemplateDirective, "[kendoSchedulerAgendaTimeTemplate]", never, {}, {}, never, never, true, never>;
}