logo

FullCalendar

These are the new v4 docs! More info

eventDestroy

Called before an event’s element is removed from the DOM.

function( info ) { }

info is a plain object that contains the following properties:

event

The associated Event Object.

el

The HTML element that is being destroyed.

isMirror

true if the element being rendered is a “mirror” from a user drag, resize, or selection (see selectMirror). false otherwise.

view

The current View Object.

This callback gets called once for every event element. It is a great way to tear down any plugins you might have applied in eventRender.