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.6 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 slots in the Scheduler. * * To define an all-dat slot template, nest an `<ng-template>` tag with the `kendoSchedulerAllDaySlotTemplate` directive inside the * `<kendo-scheduler>`, `<kendo-scheduler-day-view>`, or `<kendo-scheduler-week-view>` components ([see example](slug:templates_scheduler#toc-all-day-slots)). * * The available fields in the template context are: * - `date`&mdash;The date of the slot. * - `resources`&mdash;The resources of the slot. * * @example * ```html * <kendo-scheduler-week-view> * <ng-template kendoSchedulerAllDaySlotTemplate let-date="date" let-resources="resources"> * <!-- custom all-day slot --> * </ng-template> * </kendo-scheduler-week-view> * ``` */ export declare class AllDaySlotTemplateDirective { templateRef: TemplateRef<any>; constructor(templateRef: TemplateRef<any>); static ɵfac: i0.ɵɵFactoryDeclaration<AllDaySlotTemplateDirective, [{ optional: true; }]>; static ɵdir: i0.ɵɵDirectiveDeclaration<AllDaySlotTemplateDirective, "[kendoSchedulerAllDaySlotTemplate]", never, {}, {}, never, never, true, never>; }