class type t =Inheritsobject
..end
method setDirection : Js.js_string Js.t -> unit Js.meth
Set the sorting direction for this sorter.
Parameters:
Js.js_string Js.t
The direction to sort in. Should be either 'ASC' or 'DESC'.
method toggle : unit Js.meth
Toggles the sorting direction for this sorter.
method updateSortFunction : 'a. 'a Js.callback Js.optdef -> unit Js.meth
Update the sort function for this sorter.
Parameters:
_ Js.callback
(optional)
A new sorter function for this sorter. If not specified it will use the default sorting function.