elm package cache
Packages
Reroutes
About
lamdera.com
georgesboris
/
elm-widgets-alpha
/
4.8.1
NOTE: the latest version is
4.18.3
README
About
Versions
Source
Modules
W.Playground
type
Playground
a
type
PlaygroundState
Basic Values
succeed
:
model ->
Playground
model
bool
:
{ name
:
String
, description
:
String
, default
:
Bool
}
->
Playground
(
Bool
-> model)
->
Playground
model
string
:
{ name
:
String
, description
:
String
, default
:
String
}
->
Playground
(
String
-> model)
->
Playground
model
int
:
{ name
:
String
, description
:
String
, default
:
Int
}
->
Playground
(
Int
-> model)
->
Playground
model
float
:
{ name
:
String
, description
:
String
, default
:
Float
}
->
Playground
(
Float
-> model)
->
Playground
model
Custom Options
options
:
{ name
:
String
, description
:
String
, defaultOption
:
option
, otherOptions
:
List
option
, toLabel
:
option ->
String
}
->
Playground
(option -> model)
->
Playground
model
boolOption
:
{ name
:
String
, description
:
String
, default
:
Bool
, trueOption
:
a
, falseOption
:
a
}
->
Playground
(a -> model)
->
Playground
model
Attribute Helpers
attr
:
{ name
:
String
, description
:
String
, defaultOption
:
(
String
,
Attr
a )
, otherOptions
:
List
(
String
,
Attr
a )
}
->
Playground
(
Attr
a -> model)
->
Playground
model
boolAttr
:
{ name
:
String
, description
:
String
, default
:
Bool
, attr
:
Attr
a
}
->
Playground
(
Attr
a -> model)
->
Playground
model
Transformations
map
:
(a -> b) ->
Playground
a ->
Playground
b
Using the Playground
init
:
Playground
a ->
PlaygroundState
view
:
{ toHtml
:
model ->
Html
msg
, playground
:
Playground
model
, onUpdate
:
PlaygroundState
-> msg
}
->
PlaygroundState
->
Html
msg
toModel
:
PlaygroundState
->
Playground
a -> a
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