Back to Fullcalendar

eventLeave

_docs-v4/event-dragging-resizing/eventLeave.md

latest684 B
Original Source

Triggered when on a calendar when one if its events is about to be dropped onto another calendar.

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

info is a plain object with the following properties:

<table> <tr> <th>draggedEl</th> <td markdown='1'> The HTML element that was being dragged. </td> </tr> <tr> <th>event</th> <td markdown='1'> An [Event object](event-object) that is about to leave. </td> </tr> <tr> <th>view</th> <td markdown='1'> The current [View Object](view-object). </td> </tr> </table>

This callback will be fired before the receiving calendar's drop and eventReceive callbacks are fired.