TanStack
Hotkey Recorder API Reference

useHotkeyRecorder

ts
function useHotkeyRecorder(owner, options): EmberHotkeyRecorder;

Defined in: packages/ember-hotkeys/src/useHotkeyRecorder.ts:13

Creates an owned recorder with autotracked state and current callback options.

Parameters

owner

object

options

MaybeGetter<HotkeyRecorderOptions>

Returns

EmberHotkeyRecorder