API reference: @salmonui/scheduler
SchedulerContextMenuItemClickEventinterface
import type { SchedulerContextMenuItemClickEvent } from '@salmonui/scheduler';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.
| Name | Signature | Description |
|---|---|---|
id | readonly id: string; | |
item | readonly item: SchedulerMenuItem | undefined; | |
context | readonly context: SchedulerContextMenuContext<Row>; | |
typeinherited | type: string; | |
sourceinherited | source: SchedulerEventSource; | |
defaultPreventedinherited | defaultPrevented: boolean; | |
preventDefaultinherited | preventDefault: () => void; |