Skip to content
This repository was archived by the owner on Sep 6, 2018. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/Table.elm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Table exposing
( view
, config, stringColumn, intColumn, floatColumn
, State, initialSort
, State, initialSort, initialReversedSort
, Column, customColumn, veryCustomColumn
, Sorter, unsortable, increasingBy, decreasingBy
, increasingOrDecreasingBy, decreasingOrIncreasingBy
Expand Down Expand Up @@ -84,6 +84,13 @@ initialSort header =
State header False


{-| Same as initialSort, but reverse the order.
-}
initialReversedSort : String -> State
initialReversedSort header =
State header True



-- CONFIG

Expand Down