Class DndDropAnimation
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
How a V.DragOverlay returns to its source when the drag ends or is cancelled, dnd-kit's
dropAnimation: the overlay moves from where it was to the source's settled position over
DurationMs with CSS ease timing while the source is held at opacity 0, then hides. A
zero duration, or an overlay already over the source, hides at once.
public sealed record DndDropAnimation
- Inheritance
-
objectDndDropAnimation
Constructors
- DndDropAnimation(float)
How a
V.DragOverlayreturns to its source when the drag ends or is cancelled, dnd-kit'sdropAnimation: the overlay moves from where it was to the source's settled position over DurationMs with CSSeasetiming while the source is held at opacity 0, then hides. A zero duration, or an overlay already over the source, hides at once.
Fields
- None
No animation: the overlay hides when the drag ends, dnd-kit's
dropAnimation={null}.