SchedulerDragEvent

Event arguments passed to drag-and-drop lifecycle callbacks (onDragStart, onDrag, onDragStop). Handlers can modify properties like cancel, interval, or scroll options to control the drag operation.

Props

The following table outlines the props for the SchedulerDragEvent:

NameTypeDefaultDescription
cancel
boolean
-

Set to true to cancel the drag operation and prevent the event from moving.

data
-

Contains the event data being dragged.

element
HTMLElement
-

The DOM element currently being dragged.

event
MouseEvent | TouchEvent
-

The native mouse or touch event triggering the current drag tick.

target
HTMLElement
-

The DOM element currently under the pointer that may serve as a drop target.