New to Kendo UI for Angular? Start a free 30-day trial
EventTemplateDirective
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).
The available fields in the template context are:
event
—The event that is associated with the item.resources
—The resources of the event.
html
<kendo-scheduler>
<ng-template kendoSchedulerEventTemplate let-event="event" let-resources="resources">
<!-- custom event rendering -->
</ng-template>
</kendo-scheduler>
Selector
[kendoSchedulerEventTemplate]