Struct DndSortingArgs
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
What a DndSortingStrategy reads, dnd-kit's sorting strategy arguments.
public readonly struct DndSortingArgs
Properties
- ActiveIndex
The dragged item's index in the context's items.
- ActiveNodeRect
The dragged item's rect when the drag started.
- Index
The index of the item the transform is for.
- OverIndex
The index of the item the drag is over.
- Rects
Each item's rect without the transform a drag gave it, in items order, panel space; an item that is not mounted has an empty rect.