UNPKG

@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.

32 lines (31 loc) 1.63 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"; /** * Use this directive to customize the content of all-day events in the Scheduler. * * To define an all-day event template, nest an `<ng-template>` tag with the `kendoSchedulerAllDayEventTemplate` directive inside the * `<kendo-scheduler>`, `<kendo-scheduler-day-view>`, or `<kendo-scheduler-week-view>` component ([see example](slug:templates_scheduler#toc-all-day-events)). * * The available fields in the template context are: * - `event`&mdash;The event that is associated with the item. * - `resources`&mdash;The resources of the event. * * @example * ```html * <kendo-scheduler-day-view> * <ng-template kendoSchedulerAllDayEventTemplate let-event="event" let-resources="resources"> * <!-- custom all-day event --> * </ng-template> * </kendo-scheduler-day-view> * ``` */ export declare class AllDayEventTemplateDirective { templateRef: TemplateRef<any>; constructor(templateRef: TemplateRef<any>); static ɵfac: i0.ɵɵFactoryDeclaration<AllDayEventTemplateDirective, [{ optional: true; }]>; static ɵdir: i0.ɵɵDirectiveDeclaration<AllDayEventTemplateDirective, "[kendoSchedulerAllDayEventTemplate]", never, {}, {}, never, never, true, never>; }