elm package cache
Packages
Reroutes
About
lamdera.com
QiTASC
/
hatchinq
/
17.0.2
NOTE: the latest version is
29.0.0
README
About
Versions
Source
Modules
Hatchinq.DataTable
Exposed
type
alias
Config
item msg
=
{ theme
:
Theme
, lift
:
Message
item msg -> msg
}
type
alias
InfiniteView
msg
=
{ loadingTop
:
Maybe
Int
, loadingBottom
:
Maybe
Int
, loadExtraItems
:
LoadingDirection
->
Maybe
{ loadCount
:
Int
, excessCount
:
Int
, loadMsg
:
msg
}
}
type
LoadingDirection
=
Up
|
Down
type
Message
item msg
type
alias
State
item
=
{ hoveredHeader
:
Maybe
Int
, sort
:
Sort
item
}
type
alias
View
item msg
=
{ columns
:
List
(
Column
item msg)
, items
:
List
item
, state
:
State
item
}
column
:
Element
msg ->
Length
-> (
Int
-> item ->
Element
msg) ->
Column
item msg
configure
:
Config
item msg
->
List
(
Attribute
(
InternalConfig
item msg))
->
View
item msg
->
Element
msg
expansion
:
(item ->
Bool
)
-> (item ->
Bool
-> msg)
-> (item ->
Element
msg)
->
Attribute
(
InternalConfig
item msg)
infinite
:
InfiniteView
msg ->
Attribute
(
InternalConfig
item msg)
init
:
State
item
lightenOrDarkenOnHover
:
Float
->
Attribute
(
InternalConfig
item msg)
plain
:
Attribute
(
InternalConfig
item msg)
rowColor
:
(item ->
Maybe
Color
) ->
Attribute
(
InternalConfig
item msg)
selection
:
(item ->
Bool
)
-> (item ->
Bool
-> msg)
-> (
Bool
-> msg)
->
Attribute
(
InternalConfig
item msg)
sortableColumn
:
Element
msg
->
Length
-> (
Int
-> item ->
Element
msg)
-> (
List
item ->
List
item)
->
Column
item msg
externalSortableColumn
:
Element
msg
->
Length
-> (
Int
-> item ->
Element
msg)
-> (
Int
->
Maybe
Bool
-> msg)
->
Column
item msg
update
:
Message
item msg ->
State
item -> (
State
item,
Cmd
msg )
README
About
67 versions
Source
Modules
Examples
Hatchinq.AppBar
Hatchinq.Attribute
Hatchinq.Button
Hatchinq.Card
Hatchinq.Checkbox
Hatchinq.Color
Hatchinq.DataTable
Hatchinq.Divider
Hatchinq.DropDown
Hatchinq.IconButton
Hatchinq.List
Hatchinq.Menu
Hatchinq.Paginator
Hatchinq.ProgressIndicator
Hatchinq.RadioButton
Hatchinq.RoundImage
Hatchinq.SidePanel
Hatchinq.Snackbar
Hatchinq.TabBar
Hatchinq.TextField
Hatchinq.Theme
Hatchinq.Tree