nathanjohnson320 / elm-ui-components / ElmUIC.Textarea

A styled text area


type alias Textarea =
{}

Base model for an textarea

defaultTextarea : Textarea

Instantiates the default properties of a textarea

defaultTextarea

textarea : ElmUIC.Theme.Theme -> Textarea -> List (Html.Styled.Attribute msg) -> List (Html.Styled.Html msg) -> Html.Styled.Html msg

A styled textarea

textarea
    defaultTheme
    defaultTextarea
    [ onInput Input, value model.input, placeholder "Lots and lots of text" ]
    []