Legacy docs (v1–v6)
These docs are for an old release. View the v7 docs
edit doc view .md

eventLeave

Triggered on a calendar after one of its events is dropped onto another calendar.

It fires when the event is released, before the event is removed from this calendar and before the receiving calendar’s drop and eventReceive callbacks.

function( info ) { }

info is a plain object with the following properties:

event

An Event object that is leaving.

relatedEvents an array of other related Event Objects that also left. an event might have other recurring event instances or might be linked to other events with the same groupId
revert a function that can be called to reverse this action
view

The current View Object.

draggedEl

The HTML element that was being dragged.

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

This callback is fired before eventRemove.