New to Kendo UI for Angular? Start a free 30-day trial
MonthDaySlotTemplateDirective
Use this directive to customize the day slots in the Month view of the Scheduler.
To define a day slot template, nest an <ng-template>
tag with the kendoSchedulerMonthDaySlotTemplate
directive inside the
<kendo-scheduler>
or <kendo-scheduler-month-view>
component (see example).
The available fields in the template context are:
date
—The date of the slot.resources
—The resources of the slot.
html
<kendo-scheduler-month-view>
<ng-template kendoSchedulerMonthDaySlotTemplate let-date="date" let-resources="resources">
<!-- custom month day slot -->
</ng-template>
</kendo-scheduler-month-view>
Selector
[kendoSchedulerMonthDaySlotTemplate]