# SchedulerContextMenuItemClickEvent (@salmonui/scheduler)

> The SchedulerContextMenuItemClickEvent interface of @salmonui/scheduler: onContextMenuItemClick: a chosen item. The default items (newEvent, newRecurringEvent and today on cells, edit and delete on events) run their action unless preventDefault() is called.

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

```ts
import type { SchedulerContextMenuItemClickEvent } 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 SchedulerContextMenuItemClickEvent<Row = unknown> extends SchedulerCancelableEvent {
    readonly id: string;
    readonly item: SchedulerMenuItem | undefined;
    readonly context: SchedulerContextMenuContext<Row>;
}
```

`onContextMenuItemClick`: a chosen item. The default items (`newEvent`,
`newRecurringEvent` and `today` on cells, `edit` and `delete` on events)
run their action unless `preventDefault()` is called.

Members (7):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `id` | `readonly id: string;` |  |  |
| `item` | `readonly item: SchedulerMenuItem \| undefined;` |  |  |
| `context` | `readonly context: SchedulerContextMenuContext<Row>;` |  |  |
| `type` | `type: string;` | inherited |  |
| `source` | `source: SchedulerEventSource;` | inherited |  |
| `defaultPrevented` | `defaultPrevented: boolean;` | inherited |  |
| `preventDefault` | `preventDefault: () => void;` | inherited |  |
