Skip to content
EliteChart

ShortcutGroup

Documentation


Documentation / @elitechart/core / ShortcutGroup

Defined in: ui/shortcut-help.ts:22

One section of the shortcut help overlay — a heading plus a list of key-binding rows.

Example

code
const group: ShortcutGroup = {
  title: 'Selection',
  rows: [{ keys: ['Click'], action: 'Select a drawing' }],
};

Properties

rows

code
readonly rows: readonly {
  action: string;
  keys: readonly string[];
}[];

Defined in: ui/shortcut-help.ts:24


title

code
readonly title: string;

Defined in: ui/shortcut-help.ts:23