New to Kendo UI for Angular? Start a free 30-day trial
TimeSlotTemplateDirective
Represents the template for the time-slot renderer in the Day, Week, and Timeline views.
To define the time-slot template, nest an <ng-template>
tag with the kendoSchedulerTimeSlotTemplate
directive inside the <kendo-scheduler>
, or in the <kendo-scheduler-day-view>
, <kendo-scheduler-week-view>
,
<kendo-scheduler-timeline-view>
, <kendo-scheduler-timeline-week-view>
, and <kendo-scheduler-timeline-month-view>
components (see example).
The available fields in the template context are:
date
—The date of the slot.resources
—The resources of the slot.
Selector
[kendoSchedulerTimeSlotTemplate]