Class DndContextState
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
What Hooks.UseDndContext returns: the drag the nearest V.DndContext holds, dnd-kit's public
context. Active is null while no drag is active; ActiveNodeRect is the source's
rect at activation, panel space.
public sealed record DndContextState
- Inheritance
-
objectDndContextState
Constructors
- DndContextState(DraggableInfo?, DroppableInfo?, IReadOnlyList<DndCollision>, Rect?)
What
Hooks.UseDndContextreturns: the drag the nearestV.DndContextholds, dnd-kit's public context. Active is null while no drag is active; ActiveNodeRect is the source's rect at activation, panel space.
Fields
- Idle
No drag active.