linXiv frontend (TS/JS)
Preparing search index...
components/ui/sort-header
nextSort
Function nextSort
nextSort
<
K
>
(
current
:
{
dir
:
SortDir
;
key
:
K
}
,
key
:
K
,
initial
?:
SortDir
,
)
:
{
dir
:
SortDir
;
key
:
K
}
Cycle helper: clicking the active column flips direction; a new column starts at
initial
.
Type Parameters
K
Parameters
current
:
{
dir
:
SortDir
;
key
:
K
}
key
:
K
initial
:
SortDir
= "asc"
Returns
{
dir
:
SortDir
;
key
:
K
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
linXiv frontend (TS/JS)
Loading...
Cycle helper: clicking the active column flips direction; a new column starts at
initial.