# eventDestroy

> FullCalendar v1 documentation, for an old release. Web version: https://legacy.fullcalendar.io/v1/eventDestroy
>
> Latest version (v7): https://fullcalendar.io/docs/event-render-hooks.md

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

<div class='spec' markdown='1'>
function( *event*, *element*, *view* ) { }
</div>

`event` is the [Event Object](https://legacy.fullcalendar.io/v1/event-object.md)

`element` is a jQuery element that will be removed

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](https://legacy.fullcalendar.io/v1/eventRender.md).
