Ga naar hoofdinhoud

CnCalendarWidget

Calendar widget (agenda/upcoming) over internal calendars + external ICS feeds; data via cnCalendarSource.

Part of the dashboard widget library (v2). Registered with the dashboard widget registry and consumed by MyDash/LaunchPad's widget grid. See the widget library overview and docs/architecture/cards-and-widgets.md.

Reference

Props

NameTypeRequiredDefaultDescription
contentobject\{\}Persisted widget content {viewMode, daysAhead, colorByCalendar}.
dataSourceunionnullConsumer-supplied data source overriding the cnCalendarSource injection. Must expose fetchEvents({from, to}) => Promise<{events, failures}>. When null the injection (then the empty state) is used.