The slice of the engine's shortcut manager the keymap reads, and drives when the user rebinds.

interface ChartShortcutSource {
    disable(command: string): void;
    list(): ShortcutListItem[];
    resetBinding(command: string): void;
    setBinding(command: string, combo: string | string[]): boolean;
}

Methods

  • With disable and resetBinding, what makes the chart's commands rebindable from the keymap.

    Parameters

    • command: string
    • combo: string | string[]

    Returns boolean