# eventLeave

> FullCalendar v6 documentation, for an old release. Web version: https://legacy.fullcalendar.io/v6/eventLeave
>
> Latest version (v7): https://fullcalendar.io/docs/eventLeave.md

Triggered when on a calendar when one if its events is about to be [dropped onto another calendar](https://legacy.fullcalendar.io/v6/other-calendar-dragging.md).

<div class='spec' markdown='1'>
function( *info* ) { }
</div>

`info` is a plain object with the following properties:

<table>

<tr>
<th>event</th>
<td markdown='1'>
An [Event object](https://legacy.fullcalendar.io/v6/event-object.md) that is about to leave.
</td>
</tr>

<tr>
<th>relatedEvents</th>
<td>an array of other related <a href='https://legacy.fullcalendar.io/v6/event-object.md'>Event Objects</a> that also left. an event might have other <a href='https://legacy.fullcalendar.io/v6/recurring-events.md'>recurring event</a> instances or might be linked to other events with the same <code>groupId</code></td>
</tr>

<tr>
<th>revert</th>
<td>a function that can be called to reverse this action</td>
</tr>

<tr>
<th>view</th>
<td markdown='1'>
The current [View Object](https://legacy.fullcalendar.io/v6/view-object.md).
</td>
</tr>

<tr>
<th>draggedEl</th>
<td markdown='1'>
The HTML element that was being dragged.
</td>
</tr>

</table>

This callback will be fired before the receiving calendar's [drop](https://legacy.fullcalendar.io/v6/drop.md) and [eventReceive](https://legacy.fullcalendar.io/v6/eventReceive.md) callbacks are fired.

This callback is fired before [eventRemove](https://legacy.fullcalendar.io/v6/eventRemove.md).
