Skip to main content

useHotkeyRegistrations

还没翻译译自英文(tanstack.com)本页 7 段都还没译

function useHotkeyRegistrations(): HotkeyRegistrationsResult;

Defined in: useHotkeyRegistrations.ts:33

Vue composable that reactively reads all hotkey and sequence registrations from the singleton managers.

This is a standalone composable that does NOT require the HotkeysProvider. It subscribes to both HotkeyManager and SequenceManager stores and triggers reactivity when registrations change.

Returns

HotkeyRegistrationsResult

Object with hotkeys and sequences refs