Function MonthCalendar
-
MonthCalendar(
__namedParameters: {
colors?: EventColors;
compact?: boolean;
format?: BookingFormat;
leadHours?: number;
locations?: ShopFranchiseLocationResponse[];
month: string;
onMonthChange?: (month: string) => void;
onSelect: (w: Timewindow) => void;
seats?: number;
windows: Timewindow[];
} & EventCollection,
): ElementParameters
- __namedParameters: {
colors?: EventColors;
compact?: boolean;
format?: BookingFormat;
leadHours?: number;
locations?: ShopFranchiseLocationResponse[];
month: string;
onMonthChange?: (month: string) => void;
onSelect: (w: Timewindow) => void;
seats?: number;
windows: Timewindow[];
} & EventCollection-
Optionalcolors?: EventColorsOptional CSS colors keyed by event identifier.
-
Optionalcompact?: booleanUse the compact month layout.
-
Optionalformat?: BookingFormatOptional locale and currency formatting settings.
-
OptionalleadHours?: numberMinimum Berlin wall-clock lead time in hours. Defaults to 24.
-
Optionallocations?: ShopFranchiseLocationResponse[]Public installation locations.
-
month: string
Visible month in YYYY-MM format.
-
OptionalonMonthChange?: (month: string) => voidReceive the requested ISO year-month for host navigation. Optional; omitted unless supplied by the host or backend.
-
onSelect: (w: Timewindow) => void
Receive the selected dated timewindow.
-
Optionalseats?: numberBooked places, or requested seat count depending on the signature.
-
windows: Timewindow[]
Dated availability returned by the API.
-
Returns Element
- __namedParameters: {
Render a month grid and delegate date selection and month navigation to the host.