# eventDestroy

> FullCalendar v4 documentation, for an old release. Web version: https://legacy.fullcalendar.io/v4/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( *info* ) { }
</div>

`info` is a plain object that contains the following properties:

<table>

<tr>
<th>event</th>
<td markdown='1'>
The associated [Event Object](https://legacy.fullcalendar.io/v4/event-object.md).
</td>
</tr>

<tr>
<th>el</th>
<td markdown='1'>
The HTML element that is being destroyed.
</td>
</tr>

<tr>
<th>isMirror</th>
<td markdown='1'>
`true` if the element being rendered is a "mirror" from a user drag, resize, or selection (see [selectMirror](https://legacy.fullcalendar.io/v4/selectMirror.md)). `false` otherwise.
</td>
</tr>

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

</table>

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/v4/eventRender.md).
