TanStack
Hotkeys API Reference

toHotkeyRegistrationView

ts
function toHotkeyRegistrationView(reg): HotkeyRegistrationView;

Defined in: hotkey-manager.ts:188

Creates a public view from an internal registration, stripping the callback.

Parameters

reg

HotkeyRegistration

Returns

HotkeyRegistrationView