N-day view — shows an arbitrary number of day columns.
This is the flexible view that handles 3-day, 4-day, 10-day, or any
custom day count. Uses WeekGrid internally with computed dates.
Summary
Functions
Renders an N-day time grid view.
Functions
Renders an N-day time grid view.
Attributes
date— Start date of the viewdays— Number of days to display- All other attributes are passed through to
WeekGrid.week_grid/1
Attributes
date(Date) (required)days(:integer) (required)events(:list) - Defaults to[].selected_date(Date) - Defaults tonil.today(Date) - Defaults tonil.min_time(Time) - Defaults to~T[00:00:00].max_time(Time) - Defaults to~T[23:59:59].slot_duration(:integer) - Defaults to30.slot_height(:string) - Defaults to"3rem".show_now_indicator(:boolean) - Defaults totrue.show_all_day_row(:boolean) - Defaults totrue.business_hours(:list) - Defaults to[].on_date_click(:any) - Defaults tonil.on_time_click(:any) - Defaults tonil.on_event_click(:any) - Defaults tonil.translations(:map) - Defaults to%{}.time_format(:atom) - Defaults to:h24.class(:string) - Defaults to"".dir(:atom) - Defaults to:ltr.
Slots
eventtime_label