Skip to main content

Module date_picker

Module date_picker 

Expand description

DatePicker widget — month-grid calendar picker.

Renders a header (prev-month chevron, “Month YYYY” label, next-month chevron) above a 7-column day grid. The first column is Monday — this is the locale assumption pinned by date_picker_first_day_of_week_is_monday so a future locale change must touch both the test and first_visible_col.

The visible month remains presentation state. The selected date can stay widget-local, bind directly to typed process-local state with DatePicker::from_state, or be observed with on_change for an app-owned durable mutation.

Structs§

DatePicker

Enums§

ExternalDatePickerHit
A host-side hit from an externally laid-out DatePicker.