Sie ist Teil der Mini-Calendar-Komponente.
The sbb-mini-calendar-month is a component used to group
many sbb-mini-calendar-day.
The component needs to be wrapped in a sbb-mini-calendar,
and it requires a date property in ISOString format (YYYY-MM).
<sbb-mini-calendar>
<sbb-mini-calendar-month date="2025-01">
<sbb-mini-calendar-day date="2025-01-01"></sbb-mini-calendar-day>
...
</sbb-mini-calendar-month>
</sbb-mini-calendar>
The sbb-mini-calendar-day are provided via an unnamed slot.
Consumers should check the accuracy of the slotted data, since there's no check on missing or wrongly formatted data.
The month name is always displayed at the component's bottom;
the year is displayed on top only for January and for the first slotted month in the sbb-mini-calendar.
The orientation value of the sbb-mini-calendar parent controls the component's orientation via CSS rules.
| Name | Attribute | Privacy | Type | Default | Description |
|---|---|---|---|---|---|
date | date | public | string | '' | Date as ISO string (YYYY-MM-DD) |
| Name | Description |
|---|---|
Use the unnamed slot to add sbb-mini-calendar-day elements. |