API reference: @salmonui/gantt
GanttContextMenuItemClickEventinterface
import type { GanttContextMenuItemClickEvent } from '@salmonui/gantt';interface GanttContextMenuItemClickEvent<Row> extends GanttEvent {
readonly item: string;
readonly taskId: RowId | null;
readonly task: Row | null;
}
| Name | Signature | Description |
|---|---|---|
item | readonly item: string; | |
taskId | readonly taskId: RowId | null; | |
task | readonly task: Row | null; | |
typeinherited | type: string; |
|
sourceinherited | source: DataGridEventSource; | |
defaultPreventedinherited | defaultPrevented: boolean; | True after |
preventDefaultinherited | preventDefault: () => void; | Before-events and click events: cancels the action (or the built-in behavior). |