Skip to content
EliteChart

ShortcutHelpConfig

Documentation


Documentation / @elitechart/core / ShortcutHelpConfig

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

Constructor config for ShortcutHelp. Use DEFAULT_SHORTCUT_GROUPS or compose your own list.

Example

code
const cfg: ShortcutHelpConfig = {
  mount: document.body,
  groups: DEFAULT_SHORTCUT_GROUPS,
};

Properties

groups

code
readonly groups: readonly ShortcutGroup[];

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


mount

code
readonly mount: HTMLElement;

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


onClose?

code
readonly optional onClose?: () => void;

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

Returns

void