jxxcarlson/elm-widget/3.0.0

NOTE: the latest version is 3.3.0

Widget.TextField

Types

type Role
= Primary
| Secondary
| Password
type Size
= Bounded Int
| Unbounded
= LabelLeft
| LabelAbove
| LabelRight
| NoLabel

Construct, render

make : (String -> msg) -> String -> String -> TextField msg
toElement : TextField msg -> Element msg

Options

withHeight : Int -> TextField msg -> TextField msg
withLabelWidth : Int -> TextField msg -> TextField msg
withWidth : Int -> TextField msg -> TextField msg
withLabelPosition : LabelPosition -> TextField msg -> TextField msg
withFontColor : Color -> TextField msg -> TextField msg
withBackgroundColor : Color -> TextField msg -> TextField msg
withRole : Role -> TextField msg -> TextField msg