MCPcopy Create free account

hub / github.com/TanStack/hotkeys / functions

Functions603 in github.com/TanStack/hotkeys

↓ 2 callersFunctionlabel
()
packages/hotkeys-devtools/src/components/DetailsPanel.tsx:415
↓ 2 callersFunctionneedsSequenceProgressClock
( regs: Array<SequenceRegistrationView>, now: number, )
packages/hotkeys-devtools/src/sequence-progress.ts:24
↓ 2 callersFunctionnormalizeHotkeyFromEvent
( event: KeyboardEvent, platform: 'mac' | 'windows' | 'linux' = detectPlatform(), )
packages/hotkeys/src/parse.ts:292
↓ 2 callersFunctionparsed
()
packages/hotkeys-devtools/src/components/DetailsPanel.tsx:202
↓ 2 callersFunctionregisterHotkey
( target: HTMLElement | Document | Window, hotkey: RegisterableHotkey, callback: HotkeyCallback, merge
packages/svelte-hotkeys/src/createHotkey.svelte.ts:23
↓ 2 callersFunctionregisterHotkeySequence
( target: HTMLElement | Document | Window, sequence: HotkeySequence, callback: HotkeyCallback, mergedO
packages/svelte-hotkeys/src/createHotkeySequence.svelte.ts:21
↓ 2 callersFunctionrenderRows
()
examples/vanilla/formatForDisplay/src/main.ts:91
↓ 2 callersFunctionresolveHotkeySequenceRecorderOptions
( options: MaybeRefOrGetter<HotkeySequenceRecorderOptions>, defaultOptions: ReturnType<typeof useDefaultHo
packages/vue-hotkeys/src/useHotkeySequenceRecorder.ts:63
↓ 2 callersFunctionresolveModifier
( modifier: CanonicalModifier | 'Mod', platform: 'mac' | 'windows' | 'linux' = detectPlatform(), )
packages/hotkeys/src/constants.ts:153
↓ 2 callersFunctionresolveRecorderOptions
( options: MaybeRefOrGetter<HotkeyRecorderOptions>, defaultOptions: ReturnType<typeof useDefaultHotkeysOpt
packages/vue-hotkeys/src/useHotkeyRecorder.ts:100
↓ 2 callersFunctionscopeConflictTooltip
()
packages/hotkeys-devtools/src/components/HotkeyList.tsx:174
↓ 2 callersFunctionsequenceKey
* Returns a canonical string for sequence conflict comparison.
packages/hotkeys/src/sequence-manager.ts:68
↓ 2 callersMethodsetOptions
(options: Partial<HotkeySequenceRecorderOptions>)
packages/hotkeys/src/hotkey-sequence-recorder.ts:106
↓ 2 callersFunctionshouldIgnoreInputEvent
( event: KeyboardEvent, listenerTarget: HTMLElement | Document | Window, registrationTarget: HTMLElement
packages/hotkeys/src/manager.utils.ts:116
↓ 2 callersMethodstart
()
packages/hotkeys/src/hotkey-sequence-recorder.ts:149
↓ 2 callersFunctionstripExtension
Remove any trailing .md
scripts/verify-links.ts:26
↓ 2 callersFunctionstylesFactory
(theme: 'light' | 'dark')
packages/hotkeys-devtools/src/styles/use-styles.ts:6
↓ 2 callersMethodtriggerSequence
* 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 callersFunctionuseHotkey
( hotkey: MaybeRefOrGetter<RegisterableHotkey>, callback: HotkeyCallback, options: MaybeRefOrGetter<UseH
packages/vue-hotkeys/src/useHotkey.ts:99
↓ 1 callersMethod#addListener
* Adds the keydown event listener to the document.
packages/hotkeys/src/hotkey-recorder.ts:240
↓ 1 callersMethod#addListener
(handler: (event: KeyboardEvent) => void)
packages/hotkeys/src/hotkey-sequence-recorder.ts:306
↓ 1 callersMethod#createTargetKeyDownHandler
* Creates a keydown handler for a specific target.
packages/hotkeys/src/hotkey-manager.ts:596
↓ 1 callersMethod#createTargetKeyDownHandler
* Creates a keydown handler for a specific target.
packages/hotkeys/src/sequence-manager.ts:418
↓ 1 callersMethod#createTargetKeyUpHandler
* Creates a keyup handler for a specific target.
packages/hotkeys/src/hotkey-manager.ts:607
↓ 1 callersMethod#createTargetKeyUpHandler
* Creates a keyup handler for a specific target.
packages/hotkeys/src/sequence-manager.ts:427
↓ 1 callersMethod#ensureListenersForTarget
* Ensures event listeners are attached for a specific target.
packages/hotkeys/src/hotkey-manager.ts:429
↓ 1 callersMethod#ensureListenersForTarget
* Ensures event listeners are attached for a specific target.
packages/hotkeys/src/sequence-manager.ts:374
↓ 1 callersMethod#findConflictingRegistration
* Finds an existing registration with the same hotkey and target.
packages/hotkeys/src/hotkey-manager.ts:618
↓ 1 callersMethod#findConflictingSequence
* Finds an existing registration with the same sequence and target.
packages/hotkeys/src/sequence-manager.ts:554
↓ 1 callersMethod#finishWithoutCommitCallback
()
packages/hotkeys/src/hotkey-sequence-recorder.ts:266
↓ 1 callersMethod#removeListeners
* Removes the keyboard event listeners.
packages/hotkeys/src/key-state-tracker.ts:171
↓ 1 callersMethod#setupListeners
* Sets up the keyboard event listeners.
packages/hotkeys/src/key-state-tracker.ts:107
↓ 1 callersMethod#shouldResetRegistration
* Determines if a registration should be reset based on the keyup event.
packages/hotkeys/src/hotkey-manager.ts:633
↓ 1 callersMethod_handleCancel
()
examples/lit/hotkey-sequence-recorder/src/app.ts:217
↓ 1 callersMethod_handleCancel
()
examples/lit/hotkey-recorder/src/app.ts:215
↓ 1 callersMethod_handleCreateNew
()
examples/lit/hotkey-sequence-recorder/src/app.ts:227
↓ 1 callersMethod_handleCreateNew
()
examples/lit/hotkey-recorder/src/app.ts:225
↓ 1 callersMethod_handleDelete
(id: string)
examples/lit/hotkey-sequence-recorder/src/app.ts:222
↓ 1 callersMethod_handleDelete
(id: string)
examples/lit/hotkey-recorder/src/app.ts:220
↓ 1 callersMethod_handleEdit
(id: string)
examples/lit/hotkey-sequence-recorder/src/app.ts:194
↓ 1 callersMethod_handleEdit
(id: string)
examples/lit/hotkey-recorder/src/app.ts:192
↓ 1 callersMethod_handleSaveEditing
()
examples/lit/hotkey-sequence-recorder/src/app.ts:204
↓ 1 callersMethod_handleSaveEditing
()
examples/lit/hotkey-recorder/src/app.ts:202
↓ 1 callersMethod_registerModalHotkeys
()
examples/lit/hotkey/src/app.ts:171
↓ 1 callersMethod_registerScopedHotkeys
()
examples/lit/hotkey/src/app.ts:103
↓ 1 callersMethod_unregisterScoped
()
examples/lit/hotkey/src/app.ts:89
↓ 1 callersMethodaddShortcut
()
examples/angular/injectHotkeys/src/app/app.component.ts:164
↓ 1 callersFunctioncode
()
packages/hotkeys-devtools/src/components/HeldKeysTopbar.tsx:22
↓ 1 callersFunctioncreateHeldKeyCodes
()
packages/solid-hotkeys/src/createHeldKeyCodes.ts:35
↓ 1 callersFunctioncreateHotkeyRecorder
( options: HotkeyRecorderOptions | (() => HotkeyRecorderOptions), )
packages/solid-hotkeys/src/createHotkeyRecorder.ts:61
↓ 1 callersFunctioncreateHotkeySequenceRecorder
( options: | HotkeySequenceRecorderOptions | (() => HotkeySequenceRecorderOptions), )
packages/solid-hotkeys/src/createHotkeySequenceRecorder.ts:23
↓ 1 callersMethoddestroy
()
packages/svelte-hotkeys/src/createHotkeySequenceRecorder.svelte.ts:65
↓ 1 callersMethoddestroy
()
packages/svelte-hotkeys/src/createHotkeyRecorder.svelte.ts:93
↓ 1 callersMethoddestroy
* Destroys the tracker and removes all listeners.
packages/hotkeys/src/key-state-tracker.ts:235
↓ 1 callersMethoddestroy
* Destroys the manager and removes all listeners.
packages/hotkeys/src/sequence-manager.ts:638
↓ 1 callersFunctiondispatchKeyup
( target: EventTarget, init: KeyboardEventInit, )
packages/lit-hotkeys/tests/hotkey.spec.ts:40
↓ 1 callersFunctionfindScopeConflicts
( registration: HotkeyRegistration, all: Array<HotkeyRegistration>, )
packages/hotkeys-devtools/src/components/HotkeyList.tsx:78
↓ 1 callersFunctionfindSequenceScopeConflicts
( registration: SequenceRegistrationView, all: Array<SequenceRegistrationView>, )
packages/hotkeys-devtools/src/components/HotkeyList.tsx:104
↓ 1 callersFunctionfindSequenceTargetConflicts
( registration: SequenceRegistrationView, all: Array<SequenceRegistrationView>, )
packages/hotkeys-devtools/src/components/HotkeyList.tsx:91
↓ 1 callersFunctionfindTargetConflicts
( registration: HotkeyRegistration, all: Array<HotkeyRegistration>, )
packages/hotkeys-devtools/src/components/HotkeyList.tsx:65
↓ 1 callersFunctionformatParsedHotkey
* 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 callersFunctiongenerateSequenceId
* Generates a unique ID for sequence registrations.
packages/hotkeys/src/sequence-manager.ts:61
↓ 1 callersMethodgetInstance
* Gets the singleton instance of KeyStateTracker.
packages/hotkeys/src/key-state-tracker.ts:87
↓ 1 callersMethodgetInstance
* Gets the singleton instance of SequenceManager.
packages/hotkeys/src/sequence-manager.ts:200
↓ 1 callersFunctiongetStoredPlatform
()
examples/vanilla/formatForDisplay/src/main.ts:37
↓ 1 callersFunctionhandleDelete
(id: string)
examples/react/useHotkeySequenceRecorder/src/index.tsx:176
↓ 1 callersFunctionhandleDelete
(id: string)
examples/react/useHotkeyRecorder/src/index.tsx:173
↓ 1 callersFunctionhandleDelete
(id: string)
examples/solid/createHotkeySequenceRecorder/src/index.tsx:177
↓ 1 callersFunctionhandleDelete
(id: string)
examples/solid/createHotkeyRecorder/src/index.tsx:178
↓ 1 callersFunctionhandleDelete
(id: string)
examples/preact/useHotkeySequenceRecorder/src/index.tsx:176
↓ 1 callersFunctionhandleDelete
(id: string)
examples/preact/useHotkeyRecorder/src/index.tsx:173
↓ 1 callersFunctionhandleEdit
(id: string)
examples/react/useHotkeySequenceRecorder/src/index.tsx:148
↓ 1 callersFunctionhandleEdit
(id: string)
examples/react/useHotkeyRecorder/src/index.tsx:144
↓ 1 callersFunctionhandleEdit
(id: string)
examples/solid/createHotkeySequenceRecorder/src/index.tsx:148
↓ 1 callersFunctionhandleEdit
(id: string)
examples/solid/createHotkeyRecorder/src/index.tsx:149
↓ 1 callersFunctionhandleEdit
(id: string)
examples/preact/useHotkeySequenceRecorder/src/index.tsx:148
↓ 1 callersFunctionhandleEdit
(id: string)
examples/preact/useHotkeyRecorder/src/index.tsx:144
↓ 1 callersFunctionhasNonModifierKey
( hotkey: Hotkey | ParsedHotkey | (string & {}), platform: 'mac' | 'windows' | 'linux' = detectPlatform(),
packages/hotkeys/src/parse.ts:316
↓ 1 callersFunctioninjectHeldKeyCodes
()
packages/angular-hotkeys/src/injectHeldKeyCodes.ts:28
↓ 1 callersFunctioninjectHotkeyRecorder
( options: HotkeyRecorderOptions | (() => HotkeyRecorderOptions), )
packages/angular-hotkeys/src/injectHotkeyRecorder.ts:58
↓ 1 callersFunctioninjectHotkeySequenceRecorder
( options: | HotkeySequenceRecorderOptions | (() => HotkeySequenceRecorderOptions), )
packages/angular-hotkeys/src/injectHotkeySequenceRecorder.ts:31
↓ 1 callersFunctioninjectHotkeysContext
()
packages/angular-hotkeys/src/hotkeys-provider.ts:38
↓ 1 callersFunctionisRelativeLink
(link: string)
scripts/verify-links.ts:14
↓ 1 callersFunctionisSequenceRegistration
( reg: HotkeyRegistration | SequenceRegistrationView, )
packages/hotkeys-devtools/src/components/DetailsPanel.tsx:66
↓ 1 callersFunctionisSequenceRegistration
( reg: HotkeyRegistration | SequenceRegistrationView, )
packages/hotkeys-devtools/src/components/ActionButtons.tsx:12
↓ 1 callersFunctionlabel
()
packages/hotkeys-devtools/src/components/HeldKeysTopbar.tsx:23
↓ 1 callersFunctionnormalizeKeyForValidation
* Normalizes a key for validation checking.
packages/hotkeys/src/validate.ts:81
↓ 1 callersFunctionparseKeyboardEvent
(event: KeyboardEvent)
packages/hotkeys/src/parse.ts:266
↓ 1 callersFunctionprovideHotkeys
( defaultOptions: HotkeysProviderOptions, )
packages/angular-hotkeys/src/hotkeys-provider.ts:29
↓ 1 callersFunctionprovideHotkeysContext
(defaultOptions?: HotkeysProviderOptions)
packages/vue-hotkeys/src/HotkeysProviderContext.ts:26
↓ 1 callersFunctionreadResizeObserverBlockSize
(entry: ResizeObserverEntry)
packages/hotkeys-devtools/src/components/Shell.tsx:15
↓ 1 callersFunctionregistrationPlatform
()
packages/hotkeys-devtools/src/components/DetailsPanel.tsx:216
↓ 1 callersFunctionrelativeLinkExists
(link: string, file: string)
scripts/verify-links.ts:30
↓ 1 callersFunctionremoveShortcut
(id: number)
examples/react/useHotkeys/src/index.tsx:288
↓ 1 callersFunctionremoveShortcut
(id: number)
examples/solid/createHotkeys/src/index.tsx:259
↓ 1 callersFunctionremoveShortcut
(id: number)
examples/preact/useHotkeys/src/index.tsx:288
↓ 1 callersFunctionresolveMaybeRefOrGetter
(value: MaybeRefOrGetter<T>)
packages/vue-hotkeys/src/useHotkeyRecorder.ts:110
↓ 1 callersFunctionresolveMaybeRefOrGetter
(value: MaybeRefOrGetter<T>)
packages/vue-hotkeys/src/useHotkeySequenceRecorder.ts:73
↓ 1 callersFunctionresolvePluginHost
TanStack devtools plugin pane; percentage heights break without this.
packages/hotkeys-devtools/src/components/Shell.tsx:22
↓ 1 callersFunctionresolvedCommitOnEnter
( options: HotkeySequenceRecorderOptions, )
packages/hotkeys/src/hotkey-sequence-recorder.ts:69
← previousnext →201–300 of 603, ranked by callers