Hotkeys API Reference
- HotkeyManager
- getHotkeyManager
- Hotkey
- HotkeyChord
- HotkeySequence
- RegisterableHotkey
- RegisterableHotkeyChord
- RegisterableHotkeySequence
- RawHotkeyChord
- HotkeyOptions
- HotkeyChordOptions
- HotkeySequenceOptions
- HotkeyOptionsFor
- HotkeyRegistrationHandle
- HotkeyRegistrationView
- HotkeyChordRegistrationView
- HotkeySequenceRegistrationView
- toHotkeyRegistrationView
- HotkeyCallback
- HotkeyCallbackContext
- HotkeyChordCallbackContext
- HotkeySequenceCallbackContext
- HotkeyCallbackContextFor
- HotkeyMeta
- ConflictBehavior
- isHotkeySequence
- simplifyHotkey
- createSequenceMatcher
- DEFAULT_SEQUENCE_TIMEOUT
- createHotkeysScope
- useHotkeyRegistrations
- onHotkey
- onHotkeys
- useHotkey
- useHotkeys
- DefaultHotkeysOptions
- EmberHotkeysScope
- EmberHotkeyState
- HotkeyRegistrationsResult
- ElementHotkeyOptions
- EmberHotkeyCommonOptions
- EmberHotkeyDefinition
- EmberHotkeyTarget
- MaybeGetter
App Hotkeys API Reference
- defineAppHotkeys
- AppHotkeysStore
- provideAppHotkeys
- publishAppHotkeysStore
- AppHotkey
- AppHotkeyInput
- AppHotkeyOptions
- AppHotkeyListItem
- AppHotkeyStatus
- AppHotkeysState
- AppHotkeysStoreOptions
- CustomHotkeys
- Register
- AppHotkeyId
- RegisteredAppHotkeys
- isAppHotkey
- isCustomHotkey
- resolveAppHotkey
- useAppHotkeyList
- useAppHotkeys
- useCustomHotkeys
- EmberCustomHotkeys
- EmberAppHotkeyList
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
- EmberHotkeyRecorder
Normalization & format API Reference
- formatForDisplay
- FormatDisplayOptions
- DisplayHotkey
- DisplayHotkeyChord
- 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
EmberHotkeyRecorder
Defined in: packages/ember-hotkeys/src/types.ts:33
Recording state and controls owned by the containing component.
Type Parameters#
THotkey#
THotkey extends Hotkey = Hotkey
Properties#
cancelRecording#
cancelRecording: () => void;Defined in: packages/ember-hotkeys/src/types.ts:45
Stop, clear recorder state, and call onCancel.
Returns#
void
commitRecording#
commitRecording: () => void;Defined in: packages/ember-hotkeys/src/types.ts:47
Commit the current steps (multi-step recordings).
Returns#
void
isRecording#
readonly isRecording: boolean;Defined in: packages/ember-hotkeys/src/types.ts:35
Whether the recorder is listening for a shortcut.
recordedHotkey#
readonly recordedHotkey: THotkey | null;Defined in: packages/ember-hotkeys/src/types.ts:39
The last committed hotkey, including brackets for physical codes.
startRecording#
startRecording: () => void;Defined in: packages/ember-hotkeys/src/types.ts:41
Start a new recording session.
Returns#
void
steps#
readonly steps: HotkeySequence;Defined in: packages/ember-hotkeys/src/types.ts:37
Chords captured so far in a multi-step recording.
stopRecording#
stopRecording: () => void;Defined in: packages/ember-hotkeys/src/types.ts:43
Stop and clear recorder state without calling onRecord or onCancel.
Returns#
void