_docs-v6/event-dragging-resizing/eventDrop.md
Triggered when dragging stops and the event has moved to a different day/time.
<div class='spec' markdown='1'> function( *eventDropInfo* ) { } </div>eventDropInfo is a plain object with the following properties:
This callback is fired before the eventChange callback is fired.
eventDrop does not get called when an external event lands on the calendar. eventReceive is called instead.
Here is an example demonstrating most of these arguments:
var calendar = new Calendar(calendarEl, {
events: [
// events here
],
editable: true,
eventDrop: function(info) {
alert(info.event.title + " was dropped on " + info.event.start.toISOString());
if (!confirm("Are you sure about this change?")) {
info.revert();
}
}
});
When an event has been newly dropped on a resource, the Event Object's resources will be updated to reflect.