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) 2.02 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"; /** * Represents the toolbar template of the Scheduler. To define a toolbar * template, nest an `<ng-template kendoSchedulerToolbarTemplate>` tag * inside `<kendo-scheduler>`. For more information and examples, refer to the article on * [customizing the toolbar]({% slug toolbar_scheduler %}) of the Scheduler. * * The template context receives the following template variables: * * `selectedDate`&mdash;The currently selected date. * * `dateRange`&mdash;The currently selected [`DateRange`]({% slug api_scheduler_daterange %}). * * `views`&mdash;A [`SchedulerView`]({% slug api_scheduler_schedulerview %}) array with the available views. * * `selectedView`&mdash;The currently selected [`SchedulerView`]({% slug api_scheduler_schedulerview %}). * * You can declare either of the following built-in navigation components in the toolbar template: * * `kendoSchedulerToolbarNavigation`&mdash;Renders navigation buttons, a calendar, and a date-range label. * * `kendoSchedulerToolbarViewSelector`&mdash;Renders the buttons for selecting the view. * * To emit navigation events, the components inside the toolbar can inject * the [`ToolbarService`]({% slug api_scheduler_toolbarservice %}). */ export declare class ToolbarTemplateDirective { templateRef: TemplateRef<any>; constructor(templateRef: TemplateRef<any>); static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarTemplateDirective, [{ optional: true; }]>; static ɵdir: i0.ɵɵDirectiveDeclaration<ToolbarTemplateDirective, "[kendoSchedulerToolbarTemplate]", never, {}, {}, never, never, true, never>; }