gribouille/elm-datetime/1.0.1

NOTE: the latest version is 2.0.0

Datetime

Datetime component.

Data

type Model

Opaque type for model

getValue : Model -> String

Get the selected value (TODO: rename to value).

init : String -> Model

Initialize the component model.

View

phantom : Html msg

Phantom view (for disabled state).

view : (Model -> msg) -> Model -> Html msg

Component view.