# useHotkeyHint

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

```ts
function useHotkeyHint<T>(
   owner, 
   hotkey, 
   options?
): EmberHotkeyState<boolean>;
```

Defined in: [packages/ember-hotkeys/src/useHotkeyHint.ts:31](https://github.com/TanStack/hotkeys/blob/main/packages/ember-hotkeys/src/useHotkeyHint.ts#L31)

Recomputes for held modifiers and tracked changes to the hotkey or options.
The hint shows only while the hotkey can fire: some registration of it is
enabled and in an active scope. A sequence reveals its hint from its first
step, and an app hotkey matches its registrations by id and uses its
effective hotkey (false while unbound). No hotkey (`undefined`, `null`, or
`''`) returns false. A hotkey on an element counts only while focus is inside it.

## Type Parameters

### T

`T` *extends* `AdapterHotkeyInput`

## Parameters

### owner

`object`

### hotkey

`IfTypeParameter`\<`T`, `MaybeGetter`\<`T` \| `null` \| `undefined`\>, `KnownHotkey`\<`T`, `MaybeGetter`\<`T` \| `null` \| `undefined`\>\>\>

### options?

`MaybeGetter`\<`HeldModifierOptions`\>

## Returns

[`EmberHotkeyState`](../interfaces/EmberHotkeyState.md)\<`boolean`\>
