BodyBuilder.Elements.DateTimePicker

Mobile like date time picker


type alias Model =

{ date : Time.Posix, dayLimits : ( Date.RataDie.RataDie, Date.RataDie.RataDie ), dayPicker : BodyBuilder.Elements.WheelPicker.WheelPicker, hourPicker : BodyBuilder.Elements.WheelPicker.WheelPicker, minutePicker : BodyBuilder.Elements.WheelPicker.WheelPicker }

Model of the DateTime Picker



type Msg

= Msg

[['PickerMsg', ['BodyBuilder.Elements.DateTimePicker.TimeUnit', 'BodyBuilder.Elements.WheelPicker.Msg']]]

Msg of the DateTime Picker



init : ( Date.RataDie.RataDie, Date.RataDie.RataDie ) -> BodyBuilder.Elements.DateTimePicker.Model

The init function of the DateTime Picker



subscriptions : BodyBuilder.Elements.DateTimePicker.Model -> (BodyBuilder.Elements.DateTimePicker.Msg -> msg) -> Platform.Sub.Sub msg

The subscriptions function of the DateTime Picker



update : BodyBuilder.Elements.DateTimePicker.Msg -> BodyBuilder.Elements.DateTimePicker.Model -> (BodyBuilder.Elements.DateTimePicker.Msg -> msg) -> ( BodyBuilder.Elements.DateTimePicker.Model, Platform.Cmd.Cmd msg )

The update function of the DateTime Picker



view : (BodyBuilder.Elements.DateTimePicker.Msg -> msg) -> BodyBuilder.Elements.DateTimePicker.Model -> BodyBuilder.NodeWithStyle msg

The view function of the DateTime Picker