seed_datepicker

Function init

Source
pub fn init<Ms: 'static, T: HasDateConstraints + Default + Clone>(
    _: Url,
    _: &mut impl Orders<Ms>,
    config: PickerConfig<T>,
    _to_msg: impl FnOnce(Msg) -> Ms + Clone + 'static,
) -> Model<T>
Expand description

init describes what should happen when your app started.