# SchedulerEventSelectionChangeEvent (@salmonui/scheduler)

> The SchedulerEventSelectionChangeEvent interface of @salmonui/scheduler: onEventSelectionChange: the selected events after a click, Ctrl / Cmd + click (toggle) or Shift + click (range).

Canonical: https://salmonui.dev/docs/reference/scheduler/SchedulerEventSelectionChangeEvent

```ts
import type { SchedulerEventSelectionChangeEvent } from '@salmonui/scheduler';
```

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

## Reference

Kind: interface

```ts
interface SchedulerEventSelectionChangeEvent<Row> extends SchedulerEvent {
    readonly keys: readonly string[];
    readonly rows: readonly Row[];
}
```

`onEventSelectionChange`: the selected events after a click, Ctrl / Cmd + click (toggle) or Shift + click (range).

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `keys` | `readonly keys: readonly string[];` |  | Selected occurrence keys (`id`, or `id@start` for a generated occurrence). |
| `rows` | `readonly rows: readonly Row[];` |  | Rows of the selected events (a series once). |
| `type` | `type: string;` | inherited |  |
| `source` | `source: SchedulerEventSource;` | inherited |  |
