uncover-co/elm-widgets-alpha/17.0.0

NOTE: the latest version is 25.0.0

W.Table

view : List (Attribute msg a) -> List (Column msg a) -> List a -> Html msg

Columns

string : String -> (a -> String) -> List (ColumnAttribute msg a) -> Column msg a
int : String -> (a -> Int) -> List (ColumnAttribute msg a) -> Column msg a
float : String -> (a -> Float) -> List (ColumnAttribute msg a) -> Column msg a
bool : String -> (a -> Bool) -> List (ColumnAttribute msg a) -> Column msg a
String
-> (a -> field)
-> List (ColumnAttribute msg a)
-> (field -> Html msg)
-> Column msg a
type Column msg a

Column Attributes

toGroup : (List a -> Html msg) -> ColumnAttribute msg a
size : Int -> ColumnAttribute msg a
columnHtmlAttrs : List (Attribute msg) -> ColumnAttribute msg a
type ColumnAttribute msg a

Table Attributes

groups : (a -> String) -> Attribute msg a
highlight : (a -> Bool) -> Attribute msg a

Actions

onClick : (a -> msg) -> Attribute msg a
onMouseEnter : (a -> msg) -> Attribute msg a
onMouseLeave : msg -> Attribute msg a

Html

htmlAttrs : List (Attribute msg) -> Attribute msg a
type Attribute msg a