# ListboxDragEvent (@salmonui/dropdowns/listbox)

> The ListboxDragEvent interface of @salmonui/dropdowns/listbox: onItemDrag argument, at most once per animation frame.

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

```ts
import type { ListboxDragEvent } 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 ListboxDragEvent {
    readonly values: readonly ListboxKey[];
    readonly clientX: number;
    readonly clientY: number;
    readonly overGroup: string | null;
    readonly toIndex: number | null;
}
```

`onItemDrag` argument, at most once per animation frame.

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `values` | `readonly values: readonly ListboxKey[];` |  |  |
| `clientX` | `readonly clientX: number;` |  |  |
| `clientY` | `readonly clientY: number;` |  |  |
| `overGroup` | `readonly overGroup: string \| null;` |  | `dragGroup` of the list under the pointer, or null outside any accepting list. |
| `toIndex` | `readonly toIndex: number \| null;` |  |  |
