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.51 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 rendering of Scheduler events. * * To define an event template, nest an `<ng-template>` tag with the `kendoSchedulerEventTemplate` directive inside the * `<kendo-scheduler>` or any view component ([see example](slug:templates_scheduler#toc-event-rendering)). * * 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> * <ng-template kendoSchedulerEventTemplate let-event="event" let-resources="resources"> * <!-- custom event rendering --> * </ng-template> * </kendo-scheduler> * ``` */ export declare class EventTemplateDirective { templateRef: TemplateRef<any>; constructor(templateRef: TemplateRef<any>); static ɵfac: i0.ɵɵFactoryDeclaration<EventTemplateDirective, [{ optional: true; }]>; static ɵdir: i0.ɵɵDirectiveDeclaration<EventTemplateDirective, "[kendoSchedulerEventTemplate]", never, {}, {}, never, never, true, never>; }