elm package cache
Packages
Reroutes
About
lamdera.com
uncover-co
/
elm-widgets-alpha
/
24.0.0
NOTE: the latest version is
25.0.0
README
About
Versions
Source
Modules
W.InputText
view
:
List
(
Attribute
msg)
-> { onInput
:
String
-> msg
, value
:
String
}
->
Html
msg
Types
email
:
Attribute
msg
password
:
Attribute
msg
search
:
Attribute
msg
telephone
:
Attribute
msg
url
:
Attribute
msg
numeric
:
Attribute
msg
decimal
:
Attribute
msg
Styles
placeholder
:
String
->
Attribute
msg
mask
:
(
String
->
String
) ->
Attribute
msg
prefix
:
List
(
Html
msg) ->
Attribute
msg
suffix
:
List
(
Html
msg) ->
Attribute
msg
States
disabled
:
Bool
->
Attribute
msg
readOnly
:
Bool
->
Attribute
msg
Actions
onEnter
:
msg ->
Attribute
msg
onFocus
:
msg ->
Attribute
msg
onBlur
:
msg ->
Attribute
msg
Validation Attributes
required
:
Bool
->
Attribute
msg
minLength
:
Int
->
Attribute
msg
maxLength
:
Int
->
Attribute
msg
exactLength
:
Int
->
Attribute
msg
pattern
:
String
->
Attribute
msg
validation
:
(
String
->
Maybe
String
) ->
Attribute
msg
View With Validation
viewWithValidation
:
List
(
Attribute
msg)
-> { value
:
String
, onInput
:
Result
(
List
Error
)
String
->
String
-> msg
}
->
Html
msg
errorToString
:
Error
->
String
type
Error
=
PatternMismatch
String
|
TypeMismatch
String
|
TooLong
Int
String
|
TooShort
Int
String
|
ValueMissing
String
|
Custom
String
Html
htmlAttrs
:
List
(
Attribute
msg) ->
Attribute
msg
noAttr
:
Attribute
msg
type
Attribute
msg
README
About
43 versions
Source
Modules
W.Badge
W.Button
W.ButtonGroup
W.Card
W.Container
W.Divider
W.DataRow
W.Heading
W.InputField
W.InputAutocomplete
W.InputCheckbox
W.InputColor
W.InputDate
W.InputInt
W.InputFloat
W.InputRadio
W.InputSelect
W.InputSlider
W.InputText
W.InputTextArea
W.InputTime
W.Loading
W.Modal
W.Menu
W.Message
W.Notification
W.Pagination
W.Popover
W.Styles
W.Tag
W.Table
W.Text
W.Tooltip