New to Kendo UI for Angular? Start a free 30-day trial

DragEvent

Arguments for the drag event.

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 isAllDay value.

resources

any

The current resources while dragging.

sender

SchedulerComponent

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 true if the event was prevented by any of its subscribers.

Returns

boolean

true if the default action was prevented. Otherwise, returns false.

preventDefault

Prevents the default action for a specified event. In this way, the source component suppresses the built-in behavior that follows the event.