elm package cache
Packages
Reroutes
About
lamdera.com
elm-athlete
/
athlete
/
6.0.2
NOTE: the latest version is
7.0.0
README
About
Versions
Source
Modules
BodyBuilder.Elements.Form
type
alias
CommonParams
=
{ label
:
String
, placeholder
:
Maybe
String
, error
:
Maybe
String
}
type
alias
FullInputType
msg
=
{ value
:
InputType
msg
, commonParams
:
CommonParams
}
type
alias
InputCheckboxContent
msg
=
{ label
:
String
, msg
:
Bool
-> msg
, checked
:
Bool
}
type
alias
InputNumberContent
msg
=
{ label
:
String
, value
:
Int
, msg
:
Int
-> msg
}
type
alias
InputTextContent
msg
=
{ label
:
String
, placeholder
:
String
, value
:
String
, msg
:
String
-> msg
}
It seems that
InputType(..)
does not have any docs. The module's documentation names it in an @docs line, but the package does not expose it.
buildCheckbox
:
CommonParams
->
Bool
-> (
Bool
-> msg) ->
NodeWithStyle
msg
buildDate
:
CommonParams
->
Maybe
DateTime
->
DateBetween
-> (
DateMsg
-> msg)
->
NodeWithStyle
msg
buildInput
:
FullInputType
msg ->
NodeWithStyle
msg
buildInputFile
:
CommonParams
->
String
-> msg ->
NodeWithStyle
msg
buildInputNumber
:
CommonParams
->
Int
-> (
Int
-> msg) ->
NodeWithStyle
msg
buildInputPassword
:
CommonParams
->
String
-> (
String
-> msg) ->
NodeWithStyle
msg
buildInputText
:
CommonParams
->
String
-> (
String
-> msg) ->
NodeWithStyle
msg
buildInputEmail
:
CommonParams
->
String
-> (
String
-> msg) ->
NodeWithStyle
msg
buildSelect
:
CommonParams
->
List
{ a | active
:
Bool
, id
:
String
, value
:
String
}
-> (
String
-> msg)
->
NodeWithStyle
msg
buildTextArea
:
CommonParams
->
String
-> (
String
-> msg) ->
NodeWithStyle
msg
checkBoxSurround
:
String
->
Bool
-> (
Bool
-> msg) ->
NodeWithStyle
msg
errorMessage
:
String
->
NodeWithStyle
msg
generateOptions
:
String
->
List
String
->
List
Option
inputField
:
CommonParams
->
InputType
msg ->
FullInputType
msg
inputLabel
:
String
->
CommonParams
inputLabelPlaceholder
:
String
->
String
->
CommonParams
inputLabelPlaceholderWithError
:
String
->
String
->
Maybe
String
->
CommonParams
inputLabelWithError
:
String
->
Maybe
String
->
CommonParams
inputSurround
:
Maybe
String
->
String
->
NodeWithStyle
msg ->
NodeWithStyle
msg
inputTextStyle
:
Modifier
(
BoxContainer
{ a
| block
:
Maybe
(
List
(
Modifiers
BlockDetails
,
StyleSelector
))
}
)
labelizedInput
:
(
Modifiers
(
BoxContainer
{ a
| block
:
Maybe
(
List
(
Modifiers
BlockDetails
,
StyleSelector
))
, fromStringInput
:
String
->
String
, onInputEvent
:
Maybe
(
String
-> msg)
, placeholder
:
Maybe
String
, value
:
Maybe
String
}
)
->
NodeWithStyle
msg
)
->
CommonParams
->
String
-> (
String
-> msg)
->
NodeWithStyle
msg
README
About
17 versions
Source
Modules
Modifiers
Elegant
Elegant.Background
Elegant.Block
Elegant.Border
Elegant.Box
Elegant.Shadow
Elegant.Constants
Elegant.Corner
Elegant.Cursor
Elegant.Dimensions
Elegant.Display
Elegant.Overflow
Elegant.Flex
Elegant.Flex.Extra
Elegant.Grid
Elegant.Grid.Extra
Elegant.Margin
Elegant.Outline
Elegant.Padding
Elegant.Position
Elegant.Typography
Elegant.Transform
Elegant.Surrounded
Elegant.Extra
BodyBuilder
BodyBuilder.Extra
BodyBuilder.Attributes
BodyBuilder.Events
BodyBuilder.Router
BodyBuilder.Style
BodyBuilder.Elements.DateTimePicker
BodyBuilder.Elements.Card
BodyBuilder.Elements.Clickable
BodyBuilder.Elements.Form
BodyBuilder.Elements.Page
Color
Color.Convert
Color.Interpolate
Color.Manipulate