MonthCalendar
Shows events of a month.
kor/ui/MonthCalendarSource
When to use
- Use it for due dates, visits and holidays.
Examples
Team calendar
<k:MonthCalendar date="2026-11-25" events="{path: '/events', templateShareable: false}"><k:CalendarEvent key="{id}" title="{title}" start="{a}" end="{b}" time="{t}" state="{s}"/></k:MonthCalendar>
API
Properties
| Name | Type | Default | Description |
|---|
date | any | null | Day shown. Defaults to today |
maxPerDay | int | 3 | Maximum labels per day |
label | string | | Accessible name |
Aggregations
| Name | Type | Description |
|---|
events | CalendarEvent[] | Events |
Events
| Name | Type | Description |
|---|
daySelect | date: string | A day was chosen, yyyy-MM-dd |
eventPress | key: string
event: object | An event was opened |
monthChange | start: string
end: string | The visible range changed |
CalendarEvent
A calendar event.
Properties
| Name | Type | Default | Description |
|---|
key | string | | Key |
title | string | | Title |
start | any | | First day as a Date or yyyy-MM-dd |
end | any | | Last day. Defaults to a single day |
time | string | | Time text, HH:mm |
state | string | info | Status color |
Related
ScheduleTimetable