Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/hotkeys
/ functions
Functions
603 in github.com/TanStack/hotkeys
⨍
Functions
603
◇
Types & classes
183
↓ 2 callers
Function
label
()
packages/hotkeys-devtools/src/components/DetailsPanel.tsx:415
↓ 2 callers
Function
needsSequenceProgressClock
( regs: Array<SequenceRegistrationView>, now: number, )
packages/hotkeys-devtools/src/sequence-progress.ts:24
↓ 2 callers
Function
normalizeHotkeyFromEvent
( event: KeyboardEvent, platform: 'mac' | 'windows' | 'linux' = detectPlatform(), )
packages/hotkeys/src/parse.ts:292
↓ 2 callers
Function
parsed
()
packages/hotkeys-devtools/src/components/DetailsPanel.tsx:202
↓ 2 callers
Function
registerHotkey
( target: HTMLElement | Document | Window, hotkey: RegisterableHotkey, callback: HotkeyCallback, merge
packages/svelte-hotkeys/src/createHotkey.svelte.ts:23
↓ 2 callers
Function
registerHotkeySequence
( target: HTMLElement | Document | Window, sequence: HotkeySequence, callback: HotkeyCallback, mergedO
packages/svelte-hotkeys/src/createHotkeySequence.svelte.ts:21
↓ 2 callers
Function
renderRows
()
examples/vanilla/formatForDisplay/src/main.ts:91
↓ 2 callers
Function
resolveHotkeySequenceRecorderOptions
( options: MaybeRefOrGetter<HotkeySequenceRecorderOptions>, defaultOptions: ReturnType<typeof useDefaultHo
packages/vue-hotkeys/src/useHotkeySequenceRecorder.ts:63
↓ 2 callers
Function
resolveModifier
( modifier: CanonicalModifier | 'Mod', platform: 'mac' | 'windows' | 'linux' = detectPlatform(), )
packages/hotkeys/src/constants.ts:153
↓ 2 callers
Function
resolveRecorderOptions
( options: MaybeRefOrGetter<HotkeyRecorderOptions>, defaultOptions: ReturnType<typeof useDefaultHotkeysOpt
packages/vue-hotkeys/src/useHotkeyRecorder.ts:100
↓ 2 callers
Function
scopeConflictTooltip
()
packages/hotkeys-devtools/src/components/HotkeyList.tsx:174
↓ 2 callers
Function
sequenceKey
* Returns a canonical string for sequence conflict comparison.
packages/hotkeys/src/sequence-manager.ts:68
↓ 2 callers
Method
setOptions
(options: Partial<HotkeySequenceRecorderOptions>)
packages/hotkeys/src/hotkey-sequence-recorder.ts:106
↓ 2 callers
Function
shouldIgnoreInputEvent
( event: KeyboardEvent, listenerTarget: HTMLElement | Document | Window, registrationTarget: HTMLElement
packages/hotkeys/src/manager.utils.ts:116
↓ 2 callers
Method
start
()
packages/hotkeys/src/hotkey-sequence-recorder.ts:149
↓ 2 callers
Function
stripExtension
Remove any trailing .md
scripts/verify-links.ts:26
↓ 2 callers
Function
stylesFactory
(theme: 'light' | 'dark')
packages/hotkeys-devtools/src/styles/use-styles.ts:6
↓ 2 callers
Method
triggerSequence
* Triggers a sequence's callback programmatically from devtools. * Creates a synthetic KeyboardEvent from the last key in the sequence. * * @
packages/hotkeys/src/sequence-manager.ts:588
↓ 2 callers
Function
useHotkey
( hotkey: MaybeRefOrGetter<RegisterableHotkey>, callback: HotkeyCallback, options: MaybeRefOrGetter<UseH
packages/vue-hotkeys/src/useHotkey.ts:99
↓ 1 callers
Method
#addListener
* Adds the keydown event listener to the document.
packages/hotkeys/src/hotkey-recorder.ts:240
↓ 1 callers
Method
#addListener
(handler: (event: KeyboardEvent) => void)
packages/hotkeys/src/hotkey-sequence-recorder.ts:306
↓ 1 callers
Method
#createTargetKeyDownHandler
* Creates a keydown handler for a specific target.
packages/hotkeys/src/hotkey-manager.ts:596
↓ 1 callers
Method
#createTargetKeyDownHandler
* Creates a keydown handler for a specific target.
packages/hotkeys/src/sequence-manager.ts:418
↓ 1 callers
Method
#createTargetKeyUpHandler
* Creates a keyup handler for a specific target.
packages/hotkeys/src/hotkey-manager.ts:607
↓ 1 callers
Method
#createTargetKeyUpHandler
* Creates a keyup handler for a specific target.
packages/hotkeys/src/sequence-manager.ts:427
↓ 1 callers
Method
#ensureListenersForTarget
* Ensures event listeners are attached for a specific target.
packages/hotkeys/src/hotkey-manager.ts:429
↓ 1 callers
Method
#ensureListenersForTarget
* Ensures event listeners are attached for a specific target.
packages/hotkeys/src/sequence-manager.ts:374
↓ 1 callers
Method
#findConflictingRegistration
* Finds an existing registration with the same hotkey and target.
packages/hotkeys/src/hotkey-manager.ts:618
↓ 1 callers
Method
#findConflictingSequence
* Finds an existing registration with the same sequence and target.
packages/hotkeys/src/sequence-manager.ts:554
↓ 1 callers
Method
#finishWithoutCommitCallback
()
packages/hotkeys/src/hotkey-sequence-recorder.ts:266
↓ 1 callers
Method
#removeListeners
* Removes the keyboard event listeners.
packages/hotkeys/src/key-state-tracker.ts:171
↓ 1 callers
Method
#setupListeners
* Sets up the keyboard event listeners.
packages/hotkeys/src/key-state-tracker.ts:107
↓ 1 callers
Method
#shouldResetRegistration
* Determines if a registration should be reset based on the keyup event.
packages/hotkeys/src/hotkey-manager.ts:633
↓ 1 callers
Method
_handleCancel
()
examples/lit/hotkey-sequence-recorder/src/app.ts:217
↓ 1 callers
Method
_handleCancel
()
examples/lit/hotkey-recorder/src/app.ts:215
↓ 1 callers
Method
_handleCreateNew
()
examples/lit/hotkey-sequence-recorder/src/app.ts:227
↓ 1 callers
Method
_handleCreateNew
()
examples/lit/hotkey-recorder/src/app.ts:225
↓ 1 callers
Method
_handleDelete
(id: string)
examples/lit/hotkey-sequence-recorder/src/app.ts:222
↓ 1 callers
Method
_handleDelete
(id: string)
examples/lit/hotkey-recorder/src/app.ts:220
↓ 1 callers
Method
_handleEdit
(id: string)
examples/lit/hotkey-sequence-recorder/src/app.ts:194
↓ 1 callers
Method
_handleEdit
(id: string)
examples/lit/hotkey-recorder/src/app.ts:192
↓ 1 callers
Method
_handleSaveEditing
()
examples/lit/hotkey-sequence-recorder/src/app.ts:204
↓ 1 callers
Method
_handleSaveEditing
()
examples/lit/hotkey-recorder/src/app.ts:202
↓ 1 callers
Method
_registerModalHotkeys
()
examples/lit/hotkey/src/app.ts:171
↓ 1 callers
Method
_registerScopedHotkeys
()
examples/lit/hotkey/src/app.ts:103
↓ 1 callers
Method
_unregisterScoped
()
examples/lit/hotkey/src/app.ts:89
↓ 1 callers
Method
addShortcut
()
examples/angular/injectHotkeys/src/app/app.component.ts:164
↓ 1 callers
Function
code
()
packages/hotkeys-devtools/src/components/HeldKeysTopbar.tsx:22
↓ 1 callers
Function
createHeldKeyCodes
()
packages/solid-hotkeys/src/createHeldKeyCodes.ts:35
↓ 1 callers
Function
createHotkeyRecorder
( options: HotkeyRecorderOptions | (() => HotkeyRecorderOptions), )
packages/solid-hotkeys/src/createHotkeyRecorder.ts:61
↓ 1 callers
Function
createHotkeySequenceRecorder
( options: | HotkeySequenceRecorderOptions | (() => HotkeySequenceRecorderOptions), )
packages/solid-hotkeys/src/createHotkeySequenceRecorder.ts:23
↓ 1 callers
Method
destroy
()
packages/svelte-hotkeys/src/createHotkeySequenceRecorder.svelte.ts:65
↓ 1 callers
Method
destroy
()
packages/svelte-hotkeys/src/createHotkeyRecorder.svelte.ts:93
↓ 1 callers
Method
destroy
* Destroys the tracker and removes all listeners.
packages/hotkeys/src/key-state-tracker.ts:235
↓ 1 callers
Method
destroy
* Destroys the manager and removes all listeners.
packages/hotkeys/src/sequence-manager.ts:638
↓ 1 callers
Function
dispatchKeyup
( target: EventTarget, init: KeyboardEventInit, )
packages/lit-hotkeys/tests/hotkey.spec.ts:40
↓ 1 callers
Function
findScopeConflicts
( registration: HotkeyRegistration, all: Array<HotkeyRegistration>, )
packages/hotkeys-devtools/src/components/HotkeyList.tsx:78
↓ 1 callers
Function
findSequenceScopeConflicts
( registration: SequenceRegistrationView, all: Array<SequenceRegistrationView>, )
packages/hotkeys-devtools/src/components/HotkeyList.tsx:104
↓ 1 callers
Function
findSequenceTargetConflicts
( registration: SequenceRegistrationView, all: Array<SequenceRegistrationView>, )
packages/hotkeys-devtools/src/components/HotkeyList.tsx:91
↓ 1 callers
Function
findTargetConflicts
( registration: HotkeyRegistration, all: Array<HotkeyRegistration>, )
packages/hotkeys-devtools/src/components/HotkeyList.tsx:65
↓ 1 callers
Function
formatParsedHotkey
* Formats a ParsedHotkey back to a hotkey string. * Used internally to provide the hotkey string in callback context.
packages/hotkeys/src/match.ts:249
↓ 1 callers
Function
generateSequenceId
* Generates a unique ID for sequence registrations.
packages/hotkeys/src/sequence-manager.ts:61
↓ 1 callers
Method
getInstance
* Gets the singleton instance of KeyStateTracker.
packages/hotkeys/src/key-state-tracker.ts:87
↓ 1 callers
Method
getInstance
* Gets the singleton instance of SequenceManager.
packages/hotkeys/src/sequence-manager.ts:200
↓ 1 callers
Function
getStoredPlatform
()
examples/vanilla/formatForDisplay/src/main.ts:37
↓ 1 callers
Function
handleDelete
(id: string)
examples/react/useHotkeySequenceRecorder/src/index.tsx:176
↓ 1 callers
Function
handleDelete
(id: string)
examples/react/useHotkeyRecorder/src/index.tsx:173
↓ 1 callers
Function
handleDelete
(id: string)
examples/solid/createHotkeySequenceRecorder/src/index.tsx:177
↓ 1 callers
Function
handleDelete
(id: string)
examples/solid/createHotkeyRecorder/src/index.tsx:178
↓ 1 callers
Function
handleDelete
(id: string)
examples/preact/useHotkeySequenceRecorder/src/index.tsx:176
↓ 1 callers
Function
handleDelete
(id: string)
examples/preact/useHotkeyRecorder/src/index.tsx:173
↓ 1 callers
Function
handleEdit
(id: string)
examples/react/useHotkeySequenceRecorder/src/index.tsx:148
↓ 1 callers
Function
handleEdit
(id: string)
examples/react/useHotkeyRecorder/src/index.tsx:144
↓ 1 callers
Function
handleEdit
(id: string)
examples/solid/createHotkeySequenceRecorder/src/index.tsx:148
↓ 1 callers
Function
handleEdit
(id: string)
examples/solid/createHotkeyRecorder/src/index.tsx:149
↓ 1 callers
Function
handleEdit
(id: string)
examples/preact/useHotkeySequenceRecorder/src/index.tsx:148
↓ 1 callers
Function
handleEdit
(id: string)
examples/preact/useHotkeyRecorder/src/index.tsx:144
↓ 1 callers
Function
hasNonModifierKey
( hotkey: Hotkey | ParsedHotkey | (string & {}), platform: 'mac' | 'windows' | 'linux' = detectPlatform(),
packages/hotkeys/src/parse.ts:316
↓ 1 callers
Function
injectHeldKeyCodes
()
packages/angular-hotkeys/src/injectHeldKeyCodes.ts:28
↓ 1 callers
Function
injectHotkeyRecorder
( options: HotkeyRecorderOptions | (() => HotkeyRecorderOptions), )
packages/angular-hotkeys/src/injectHotkeyRecorder.ts:58
↓ 1 callers
Function
injectHotkeySequenceRecorder
( options: | HotkeySequenceRecorderOptions | (() => HotkeySequenceRecorderOptions), )
packages/angular-hotkeys/src/injectHotkeySequenceRecorder.ts:31
↓ 1 callers
Function
injectHotkeysContext
()
packages/angular-hotkeys/src/hotkeys-provider.ts:38
↓ 1 callers
Function
isRelativeLink
(link: string)
scripts/verify-links.ts:14
↓ 1 callers
Function
isSequenceRegistration
( reg: HotkeyRegistration | SequenceRegistrationView, )
packages/hotkeys-devtools/src/components/DetailsPanel.tsx:66
↓ 1 callers
Function
isSequenceRegistration
( reg: HotkeyRegistration | SequenceRegistrationView, )
packages/hotkeys-devtools/src/components/ActionButtons.tsx:12
↓ 1 callers
Function
label
()
packages/hotkeys-devtools/src/components/HeldKeysTopbar.tsx:23
↓ 1 callers
Function
normalizeKeyForValidation
* Normalizes a key for validation checking.
packages/hotkeys/src/validate.ts:81
↓ 1 callers
Function
parseKeyboardEvent
(event: KeyboardEvent)
packages/hotkeys/src/parse.ts:266
↓ 1 callers
Function
provideHotkeys
( defaultOptions: HotkeysProviderOptions, )
packages/angular-hotkeys/src/hotkeys-provider.ts:29
↓ 1 callers
Function
provideHotkeysContext
(defaultOptions?: HotkeysProviderOptions)
packages/vue-hotkeys/src/HotkeysProviderContext.ts:26
↓ 1 callers
Function
readResizeObserverBlockSize
(entry: ResizeObserverEntry)
packages/hotkeys-devtools/src/components/Shell.tsx:15
↓ 1 callers
Function
registrationPlatform
()
packages/hotkeys-devtools/src/components/DetailsPanel.tsx:216
↓ 1 callers
Function
relativeLinkExists
(link: string, file: string)
scripts/verify-links.ts:30
↓ 1 callers
Function
removeShortcut
(id: number)
examples/react/useHotkeys/src/index.tsx:288
↓ 1 callers
Function
removeShortcut
(id: number)
examples/solid/createHotkeys/src/index.tsx:259
↓ 1 callers
Function
removeShortcut
(id: number)
examples/preact/useHotkeys/src/index.tsx:288
↓ 1 callers
Function
resolveMaybeRefOrGetter
(value: MaybeRefOrGetter<T>)
packages/vue-hotkeys/src/useHotkeyRecorder.ts:110
↓ 1 callers
Function
resolveMaybeRefOrGetter
(value: MaybeRefOrGetter<T>)
packages/vue-hotkeys/src/useHotkeySequenceRecorder.ts:73
↓ 1 callers
Function
resolvePluginHost
TanStack devtools plugin pane; percentage heights break without this.
packages/hotkeys-devtools/src/components/Shell.tsx:22
↓ 1 callers
Function
resolvedCommitOnEnter
( options: HotkeySequenceRecorderOptions, )
packages/hotkeys/src/hotkey-sequence-recorder.ts:69
← previous
next →
201–300 of 603, ranked by callers