Struct SortableState
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
What Hooks.UseSortable returns, dnd-kit's useSortable state. An index is -1 where
there is none: ActiveIndex and OverIndex while no item of this context is
dragged or under the drag.
public readonly record struct SortableState
Properties
- IsSorting
Whether any drag is active in the scope.
- NewIndex
Where the dragged order puts this item.