API reference: @salmonui/gantt
GanttDependencyChangeEventinterface
import type { GanttDependencyChangeEvent } from '@salmonui/gantt';interface GanttDependencyChangeEvent<Row> extends GanttEvent {
readonly action: 'add' | 'remove' | 'update';
readonly taskId: RowId;
readonly task: Row | null;
readonly dependencies: readonly Dependency[];
readonly previous: readonly Dependency[];
}
| Name | Signature | Description |
|---|---|---|
action | readonly action: 'add' | 'remove' | 'update'; | |
taskId | readonly taskId: RowId; | |
task | readonly task: Row | null; | |
dependencies | readonly dependencies: readonly Dependency[]; | |
previous | readonly previous: readonly Dependency[]; | |
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). |