commit
6d9acec654
|
@ -128,7 +128,7 @@ You provide the following information in your table configuration:
|
||||||
- `toId` — turn a `Person` into a unique ID. This lets us use
|
- `toId` — turn a `Person` into a unique ID. This lets us use
|
||||||
[`Html.Keyed`][keyed] under the hood to make resorts faster.
|
[`Html.Keyed`][keyed] under the hood to make resorts faster.
|
||||||
- `columns` — specify some columns to show.
|
- `columns` — specify some columns to show.
|
||||||
- `toMsg` — a way send new table states to your app as messages.
|
- `toMsg` — a way to send new table states to your app as messages.
|
||||||
|
|
||||||
See the [examples][] to get a better feel for this!
|
See the [examples][] to get a better feel for this!
|
||||||
|
|
||||||
|
@ -618,4 +618,4 @@ sort by best time by default, but also see the other order.
|
||||||
-}
|
-}
|
||||||
increasingOrDecreasingBy : (data -> comparable) -> Sorter data
|
increasingOrDecreasingBy : (data -> comparable) -> Sorter data
|
||||||
increasingOrDecreasingBy toComparable =
|
increasingOrDecreasingBy toComparable =
|
||||||
IncOrDec (List.sortBy toComparable)
|
IncOrDec (List.sortBy toComparable)
|
||||||
|
|
Loading…
Reference in New Issue