charton API / @chart-on/ui / index / ShortcutSettingsHandle
Interface: ShortcutSettingsHandle
Defined in: ui/src/shortcut-settings.ts:21
Returned by createShortcutSettings: opens or closes the keyboard shortcuts dialog.
Properties
isOpen
readonlyisOpen:boolean
Defined in: ui/src/shortcut-settings.ts:27
Whether the dialog is open.
Methods
close()
close():
void
Defined in: ui/src/shortcut-settings.ts:25
Close the dialog; changes made in it stay.
Returns
void
destroy()
destroy():
void
Defined in: ui/src/shortcut-settings.ts:29
Close the dialog and remove the button from the chart settings; the shortcuts stay as they are.
Returns
void
open()
open():
void
Defined in: ui/src/shortcut-settings.ts:23
Open the dialog; does nothing while it is open.
Returns
void