# ListboxDropEvent (@salmonui/dropdowns/listbox)

> The ListboxDropEvent interface of @salmonui/dropdowns/listbox: onItemDrop argument, fired on the receiving list.

Canonical: https://salmonui.dev/docs/reference/dropdowns/listbox/ListboxDropEvent

```ts
import type { ListboxDropEvent } from '@salmonui/dropdowns/listbox';
```

Entry index: https://salmonui.dev/docs/reference/dropdowns/listbox (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/dropdowns/listbox.md).

## Reference

Kind: interface

```ts
interface ListboxDropEvent<T> {
    readonly values: readonly ListboxKey[];
    readonly items: readonly T[];
    readonly fromList: string;
    readonly dragGroup: string;
    readonly toIndex: number;
    readonly source: ListboxEventSource;
}
```

`onItemDrop` argument, fired on the receiving list.

Members (6):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `values` | `readonly values: readonly ListboxKey[];` |  |  |
| `items` | `readonly items: readonly T[];` |  | The dragged items, from the source list's `data`. |
| `fromList` | `readonly fromList: string;` |  | `id` of the source list (the `id` prop, or a generated id). |
| `dragGroup` | `readonly dragGroup: string;` |  |  |
| `toIndex` | `readonly toIndex: number;` |  | Insertion index in this list's `data`. |
| `source` | `readonly source: ListboxEventSource;` |  |  |
