Skip to main content

Interface: SetShortcutsEnabledOptions

Charting Library.SetShortcutsEnabledOptions

Options for IChartingLibraryWidget.setShortcutsEnabled.

Properties​

keepCustom​

Optional

keepCustom: boolean

Pass true to keep custom shortcuts working when you disable the shortcuts. Custom shortcuts are those you add with IChartingLibraryWidget.onShortcut. Only the built‑in shortcuts are disabled in this case. The option has no effect when you enable the shortcuts.

false