Table of Contents

Constructor DndDropAnimation

Namespace
Velvet
Assembly
Velvet.Docs.dll

DndDropAnimation(float)

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 DndDropAnimation(float DurationMs = 250)

Parameters

DurationMs float