reorderable_helpers.ts view source
(source_index: number, current_index: number, position: ReorderableValidDropPosition): number Calculate the target index based on source, current index, and position.
source_index
type
numbercurrent_index
type
numberposition
returns
number