onDragEnd
Description
Fires when the drag/resize operation is finished
onDragEnd: (id: string, mode: string, e: Event) => void;
Parameters
id- (required) string - the event's idmode- (required) string - the dragging mode: "move","resize" or "create"e- (required) Event - a native event object
Example
var dragged_event;
scheduler.attachEvent("onBeforeDrag", function (id, mode, e){
// use it to get the object of the dragged event
dragged_event = scheduler.getEvent(id);
return true;
});
scheduler.attachEvent("onDragEnd", function(id, mode, e){
var event_obj = dragged_event;
// your custom logic
});
Related API
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.