Day view — a single-column time grid. Delegates to WeekGrid with one date.
Summary
Functions
Renders a single-day time grid view.
Functions
Renders a single-day time grid view.
Accepts the same attributes as WeekGrid.week_grid/1, but takes a single
date instead of a dates list.
Attributes
date(Date) (required)id(:string) - Defaults tonil.events(:list) - Defaults to[].selected_date(Date) - Defaults tonil.today(:any) - Date | nil (server today) | :none (no today highlight). 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.now(Time) - Defaults tonil.show_all_day_row(:boolean) - Defaults totrue.business_hours(:list) - Defaults to[].day_markers(:list) - Defaults to[].event_content(:atom) - Defaults to:auto.min_event_height(:string) - Defaults to"1.25rem".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