Hotkeys API Reference
- HotkeyManager
- getHotkeyManager
- HotkeyScopesState
- Hotkey
- HotkeyChord
- HotkeySequence
- RegisterableHotkey
- RegisterableHotkeyChord
- RegisterableHotkeySequence
- RawHotkeyChord
- HotkeyOptions
- HotkeyChordOptions
- HotkeySequenceOptions
- HotkeyOptionsFor
- HotkeyRegistrationHandle
- HotkeyRegistrationView
- HotkeyChordRegistrationView
- HotkeySequenceRegistrationView
- HotkeyRegistrationStatus
- toHotkeyRegistrationView
- HotkeyCallback
- HotkeyCallbackContext
- HotkeyChordCallbackContext
- HotkeySequenceCallbackContext
- HotkeyCallbackContextFor
- HotkeyMeta
- ConflictBehavior
- isHotkeySequence
- simplifyHotkey
- createSequenceMatcher
- DEFAULT_SEQUENCE_TIMEOUT
- AppHotkeysProvider
- HotkeysProvider
- useDefaultHotkeysOptions
- useFormatForDisplay
- useHotkey
- useHotkeyRegistrations
- useHotkeyScopesState
- useHotkeys
- useHotkeysContext
- AppHotkeysProviderProps
- HotkeysProviderOptions
- HotkeysProviderProps
- UseHotkeyChordOptions
- UseHotkeyCommonOptions
- UseHotkeyDefinition
- UseHotkeyOptions
- UseHotkeyOptionsFor
- UseHotkeySequenceOptions
- UseHotkeyTarget
App Hotkeys API Reference
- defineAppHotkeys
- AppHotkeysStore
- installAppHotkeysStore
- provideAppHotkeys
- publishAppHotkeysStore
- AppHotkey
- AppHotkeyInput
- AppHotkeyOptions
- AppHotkeyListItem
- AppHotkeyStatus
- AppHotkeysState
- AppHotkeysStoreOptions
- CustomHotkeys
- Register
- AppHotkeyId
- RegisteredAppHotkeys
- isAppHotkey
- isCustomHotkey
- resolveAppHotkey
- useAppHotkeyList
- useAppHotkeys
- useCustomHotkeys
- UseCustomHotkeysResult
- UseAppHotkeyOptions
Key hold & held keys API Reference
Hotkey Recorder API Reference
- HotkeyRecorder
- HotkeyRecorderOptions
- HotkeyChordRecorderOptions
- HotkeySequenceRecorderOptions
- HotkeyRecorderState
- HotkeyRecorderCommitKeys
- HotkeyRecorderValidationContext
- HotkeyChordRecorderValidationContext
- HotkeySequenceRecorderValidationContext
- RecorderOptions
- RecorderRejection
- RecorderKeyMode
- findHotkeyConflicts
- HotkeyConflict
- HotkeyConflictOptions
- useHotkeyRecorder
- ReactHotkeyRecorder
Normalization & format API Reference
- formatForDisplay
- FormatDisplayOptions
- DisplayHotkey
- DisplayHotkeyChord
- detectPlatform
- HotkeyPlatform
- formatHotkey
- normalizeHotkey
- parseHotkey
- parseKeyboardEvent
- ParsedHotkeyChord
- matchesKeyboardEvent
- areHotkeysEqual
- validateHotkey
- checkHotkey
- assertValidHotkey
- ValidationResult
- ValidatableHotkey
- LogicalKey
- PhysicalKey
- PhysicalKeyCode
- KEY_DISPLAY_SYMBOLS
- PUNCTUATION_KEY_DISPLAY_LABELS
- MAC_MODIFIER_SYMBOLS
- MAC_MODIFIER_LABELS
- WINDOWS_MODIFIER_LABELS
- LINUX_MODIFIER_LABELS
- MODIFIER_ALIASES
- MODIFIER_ORDER
- MODIFIER_KEYS
HotkeyChordRegistrationView
Defined in: hotkey-manager.ts:311
Public view of a chord registration, without its callback.
Extends#
- RegistrationViewBase
Properties#
alternateOf?#
optional alternateOf?: string;Defined in: hotkey-manager.ts:302
For a further registration of platformHotkeys, the id of the first hotkey of the same call that registered. The first one has none. Group a list by alternateOf ?? id to get the registrations of one call.
Inherited from#
RegistrationViewBase.alternateOfhasFired#
hasFired: boolean;Defined in: hotkey-manager.ts:291
Inherited from#
RegistrationViewBase.hasFiredhotkey#
hotkey: HotkeyChord;Defined in: hotkey-manager.ts:313
id#
id: string;Defined in: hotkey-manager.ts:286
Inherited from#
RegistrationViewBase.idkind#
kind: "chord";Defined in: hotkey-manager.ts:312
options#
options: HotkeyChordOptions;Defined in: hotkey-manager.ts:315
parsedChord#
parsedChord: ParsedHotkeyChord;Defined in: hotkey-manager.ts:314
platformHotkeys?#
optional platformHotkeys?: PlatformHotkeys;Defined in: hotkey-manager.ts:296
The hotkey object this was registered with, if any. hotkey is its entry for this platform, or one of its alternates.
Inherited from#
RegistrationViewBase.platformHotkeysstatus#
status: HotkeyRegistrationStatus;Defined in: hotkey-manager.ts:288
Whether the registration is enabled and in an active scope.
Inherited from#
RegistrationViewBase.statustarget#
target: Target;Defined in: hotkey-manager.ts:289
Inherited from#
RegistrationViewBase.targettrigger#
trigger: (event?) => boolean;Defined in: hotkey-manager.ts:307
Runs the registration's callback, as for a command palette entry. See HotkeyManager.trigger.
Parameters#
event?#
KeyboardEvent
Returns#
boolean
Inherited from#
RegistrationViewBase.triggertriggerCount#
triggerCount: number;Defined in: hotkey-manager.ts:290
Inherited from#
RegistrationViewBase.triggerCount