DayPilot.Calendar.dragInProgress

The dragInProgress() method returns true when a drag-and-drop operation is currently active in the JavaScript Calendar component.

Declaration

DayPilot.Calendar.dragInProgress()

Parameters

This method has no parameters.

Return Value

Returns true when event moving, event resizing, or time range selecting is in progress; otherwise returns false.

Example

if (calendar.dragInProgress()) {
  return;
}

See Also

DayPilot.Calendar Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript