elm package cache
Packages
Reroutes
About
lamdera.com
georgesboris
/
elm-widgets-alpha
/
4.18.2
NOTE: the latest version is
4.18.3
README
About
Versions
Source
Modules
W.InputFloat
view
:
List
(
Attribute
msg)
-> { value
:
Value
, onInput
:
Value
-> msg
}
->
Html
msg
type
alias
Attribute
msg
=
Attr
(
Attributes
msg)
Value
init
:
Maybe
Float
->
Value
toFloat
:
Value
->
Maybe
Float
toString
:
Value
->
String
type
Value
Styles
small
:
Attribute
msg
placeholder
:
String
->
Attribute
msg
mask
:
(
String
->
String
) ->
Attribute
msg
prefix
:
List
(
Html
msg) ->
Attribute
msg
suffix
:
List
(
Html
msg) ->
Attribute
msg
States
autofocus
:
Attribute
msg
disabled
:
Attribute
msg
readOnly
:
Attribute
msg
Validation Attributes
required
:
Attribute
msg
min
:
Float
->
Attribute
msg
max
:
Float
->
Attribute
msg
step
:
Float
->
Attribute
msg
validation
:
(
Maybe
Float
->
String
->
Maybe
String
) ->
Attribute
msg
View With Validation
viewWithValidation
:
List
(
Attribute
msg)
-> { value
:
Value
, onInput
:
Result
(
List
Error
) (
Maybe
Float
) ->
Value
-> msg
}
->
Html
msg
errorToString
:
Error
->
String
type
Error
=
TooLow
Float
String
|
TooHigh
Float
String
|
TooLong
Int
String
|
TooShort
Int
String
|
StepMismatch
Float
String
|
ValueMissing
String
|
Custom
String
Actions
onEnter
:
msg ->
Attribute
msg
onFocus
:
msg ->
Attribute
msg
onBlur
:
msg ->
Attribute
msg
Html
id
:
String
->
Attribute
msg
README
About
48 versions
Source
Modules
W.Accordion
W.Avatar
W.Badge
W.Box
W.Breadcrumbs
W.Button
W.ButtonGroup
W.DataRow
W.Divider
W.FormField
W.Heading
W.InputCheckbox
W.InputCode
W.InputColor
W.InputDate
W.InputFloat
W.InputInt
W.InputRadio
W.InputSelect
W.InputSlider
W.InputText
W.InputTextArea
W.InputTime
W.InputTime
W.Loading
W.Menu
W.Message
W.Modal
W.Notification
W.Pagination
W.Playground
W.Popover
W.Skeleton
W.Styles
W.Table
W.Tag
W.Text
W.Tooltip