DragEvent
Arguments for the drag
event.
NAME | TYPE | DEFAULT | DESCRIPTION |
---|---|---|---|
dataItem | any | The data item of the event. | |
end | Date | The new end date of the event. | |
event | any | The original Scheduler event. | |
isAllDay | boolean | The current | |
resources | any | The current resources while dragging. | |
sender | A reference to the Scheduler instance that triggered the event. | ||
setHintClass | (className: string) => void | Sets the class to the drag hint (see example). | |
setSlotClass | (className: string) => void | Sets the class to the slot over which the event is dragged. | |
start | Date | The new start date of the event. |
Methods
isDefaultPrevented | |
---|---|
Returns |
Returns | |
---|---|
boolean |
|
preventDefault |
---|
Prevents the default action for a specified event. In this way, the source component suppresses the built-in behavior that follows the event. |