QiTASC/hatchinq/14.2.0

NOTE: the latest version is 29.0.0

Hatchinq.TextField

Exposed

type alias Config id msg =
{ theme : Theme
, lift : Message id -> msg
}
type Message id
type State id
type alias View id msg =
{ id : id
, label : String
, value : String
, state : State id
, onChange : Maybe (String -> msg)
}
Config id msg
-> List (Attribute InternalConfig)
-> View id msg
-> Element msg
init : State id
multiline : Attribute InternalConfig
password : Attribute InternalConfig
update : Message id -> State id -> State id
{ default : String
, error : Maybe String
}
-> Attribute InternalConfig