elm package cache
Packages
Reroutes
About
lamdera.com
uncover-co
/
elm-widgets-alpha
/
17.0.0
NOTE: the latest version is
25.0.0
README
About
Versions
Source
Modules
W.InputInt
view
:
List
(
Attribute
msg customError)
-> { value
:
Value
, onInput
:
Value
-> msg
}
->
Html
msg
Value
init
:
Maybe
Int
->
Value
toInt
:
Value
->
Int
toString
:
Value
->
String
type
Value
Styles
placeholder
:
String
->
Attribute
msg customError
mask
:
(
String
->
String
) ->
Attribute
msg customError
prefix
:
Html
msg ->
Attribute
msg customError
suffix
:
Html
msg ->
Attribute
msg customError
States
disabled
:
Bool
->
Attribute
msg customError
readOnly
:
Bool
->
Attribute
msg customError
Validation
required
:
Bool
->
Attribute
msg customError
min
:
Float
->
Attribute
msg customError
max
:
Float
->
Attribute
msg customError
minLength
:
Int
->
Attribute
msg customError
maxLength
:
Int
->
Attribute
msg customError
validation
:
(
Int
->
String
->
Maybe
customError) ->
Attribute
msg customError
View With Validation
viewWithValidation
:
List
(
Attribute
msg customError)
-> { value
:
Value
, onInput
:
Result
(
Error
customError)
Int
->
Value
-> msg
}
->
Html
msg
errorToString
:
Error
customError ->
String
type
Error
customError
=
TooLow
Float
String
|
TooHigh
Float
String
|
TooLong
Int
String
|
TooShort
Int
String
|
ValueMissing
String
|
Custom
customError
Actions
onEnter
:
msg ->
Attribute
msg customError
onFocus
:
msg ->
Attribute
msg customError
onBlur
:
msg ->
Attribute
msg customError
Html
htmlAttrs
:
List
(
Attribute
msg) ->
Attribute
msg customError
noAttr
:
Attribute
msg customError
type
Attribute
msg customError
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.InputDate
W.InputInt
W.InputFloat
W.InputRadio
W.InputSelect
W.InputSlider
W.InputText
W.InputTextArea
W.InputTime
W.Layout
W.Loading
W.Modal
W.Menu
W.Message
W.Pagination
W.Popover
W.Styles
W.Tag
W.Table
W.Text
W.Tooltip