# Drag and Drop

The Kendo UI for Vue ListBox enables users to drag and drop items within the same list, to reorder them, or to move them between lists.

## Setup

The drag and drop functionality has the following requirements:

1. Use the [onDragStart](https://www.telerik.com/kendo-vue-ui/components/listbox/api/listboxprops#ondragstart) event of the ListBox to save in the state which item is being dragged.
2. Use the [onDrop](https://www.telerik.com/kendo-vue-ui/components/listbox/api/listboxprops#ondrop) event to capture where the item was dropped.
3. With the `onDrop` event, use the [processListBoxDragAndDrop](https://www.telerik.com/kendo-vue-ui/components/listbox/api/processlistboxdraganddrop) method, which will automatically process the data based on the provided parameters.

## Basic Usage

The following example demonstrates the ListBox drag and drop functionality in action.

[Demo Source](https://demos.telerik.com/kendo-vue-ui/listbox/drag-and-drop/source.txt)

## Suggested Links

* [API Reference of the ListBox](https://www.telerik.com/kendo-vue-ui/components/listbox/api/listboxprops)
* [API Reference of the ListBoxToolbar](https://www.telerik.com/kendo-vue-ui/components/listbox/api/listboxtoolbarprops)
* [draggable API](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/draggable)
* [HTML Drag and Drop API](https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API)
