Constructors
constructor
- new JSHotkeys(): JSHotkeys
Properties
Private
_initialized
_initialized: boolean
hotkeyList
Methods
_addHotkey
- _addHotkey(hotkey, action, global?): void
Parameters
- hotkey: string
- action: string
Optional
global: boolean
Returns void
addDefaultHotkeys
- addDefaultHotkeys(): void
Returns void
addHotkey
- addHotkey(hotkey, action, global): void
Parameters
- hotkey: any
- action: any
- global: any
Returns void
assignShortcuts
- assignShortcuts(): void
Returns void
getAction
- getAction(actionID): Action
getActionIcon
- getActionIcon(act): any
Returns any
getActionTitleWithCategory
- getActionTitleWithCategory(act): any
Returns any
getHotkeyData
- getHotkeyData(hotkey, global?): HotkeyData
Parameters
- hotkey: string
Optional
global: boolean
register
- register(): void
Returns void
whenLoaded
- whenLoaded(): Promise<unknown>
Returns Promise<unknown>
Undocumented