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
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot