# drop

<script>
  import { pricingUrl } from '$docs-config';
</script>

Called when an [external draggable element](external-dragging.md) or [an event from another calendar](other-calendar-dragging.md) has been dropped onto the calendar.

<div class='spec'>
function( <em>dropInfo</em> ) &#123; &#125;
</div>

`dropInfo` is a plain object with the following properties:

<table>
<tbody>
<tr>
<th>allDay</th>
<td>

`true` or `false` whether dropped on one of the all-day cells.

</td>
</tr>

<tr>
<th>date</th>
<td>

The [Date](date-object.md) of where the draggable was dropped.

</td>
</tr>

<tr>
<th>dateStr</th>
<td>

The [ISO8601 string](https://en.wikipedia.org/wiki/ISO_8601) representation of where the draggable was dropped.

</td>
</tr>

<tr>
<th>draggedEl</th>
<td>

The HTML element that was being dragged.

</td>
</tr>

<tr>
<th>jsEvent</th>
<td>

The native JavaScript event with low-level information such as click coordinates.

</td>
</tr>

<tr>
<th>resource</th>
<td>

If the current view is a resource-view, the [Resource Object](resource-object.md) the element was dropped on. Must be using one of the [resource plugins]({pricingUrl}).

</td>
</tr>

<tr>
<th>view</th>
<td>

The current [View Object](view-object.md).

</td>
</tr>
</tbody>
</table>

If you need an Event object, see [eventReceive](eventReceive.md) instead.
