Table of Contents

Class DndMonitorListener

Namespace
Velvet
Assembly
Velvet.Docs.dll

The callbacks Hooks.UseDndMonitor registers with the nearest V.DndContext, each called after the context's own callback of the same name, as dnd-kit's useDndMonitor is.

public sealed record DndMonitorListener
Inheritance
object
DndMonitorListener

Constructors

DndMonitorListener(Action<DragStartArgs>?, Action<DragMoveArgs>?, Action<DragOverArgs>?, Action<DragEndArgs>?, Action<DragCancelArgs>?)

The callbacks Hooks.UseDndMonitor registers with the nearest V.DndContext, each called after the context's own callback of the same name, as dnd-kit's useDndMonitor is.

Properties

OnDragCancel
OnDragEnd
OnDragMove
OnDragOver
OnDragStart