# ListboxValueChangeEvent (@salmonui/dropdowns/listbox)

> The ListboxValueChangeEvent interface of @salmonui/dropdowns/listbox: Second argument of onValueChange: frozen, read-only.

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

```ts
import type { ListboxValueChangeEvent } 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 ListboxValueChangeEvent<T> {
    readonly reason: ListboxValueChangeReason;
    readonly source: ListboxEventSource;
    readonly items: readonly T[];
    readonly previousValue: ListboxKey | readonly ListboxKey[] | null;
}
```

Second argument of `onValueChange`: frozen, read-only.

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `reason` | `readonly reason: ListboxValueChangeReason;` |  |  |
| `source` | `readonly source: ListboxEventSource;` |  |  |
| `items` | `readonly items: readonly T[];` |  | The items of the new value that are loaded (materialized on first read). |
| `previousValue` | `readonly previousValue: ListboxKey \| readonly ListboxKey[] \| null;` |  |  |
