nathanjohnson320 / elm-ui-components / ElmUIC.Input

A styled input


type alias Input =
{}

Base model for an input

defaultInput : Input

Instantiates the default properties of a input

defaultInput

input : ElmUIC.Theme.Theme -> Input -> List (Html.Styled.Attribute msg) -> List (Html.Styled.Html msg) -> Html.Styled.Html msg

A styled input

input
    defaultTheme
    defaultInput
    [ onInput Input, value model.input, placeholder "Input things" ]
    []