Skip to main content

Type Alias: ConvenienceChords

ConvenienceChords = boolean | Partial<Record<ConvenienceCommandId, boolean>>

Defined in: view/convenience-chords.ts:15

Live (Gantt.convenienceChords). false turns every convenience chord off; true or {} turns them all on. A per-command map pins one at a time and leaves the rest at their default — typed against ConvenienceCommandId alone, so naming an obligation command here fails to compile. The command itself always stays reachable through gantt.commands.run(id), a menu, or a toolbar button; this gates only the default chord.