本文へ移動

@eightkk/vue-weave / core / nextTimelineSort

Function: nextTimelineSort() ​

nextTimelineSort(sort, columnId): TimelineViewSort[]

Defined in: src/core/timelineView.ts:302

The sort after activating a column's sort control. Only that column's rule changes; the other rules keep their directions and order. A column without a rule becomes the primary (first) rule, ascending; an ascending rule turns descending where it is; a descending rule is removed. Returns new objects and never changes sort.

Parameters ​

sort ​

readonly TimelineViewSort[]

columnId ​

string

Returns ​

TimelineViewSort[]

MIT ライセンスで公開しています。