TanStack

WithTarget

ts
type WithTarget<TOptions, TTarget> = Omit<TOptions, "target" | "appHotkeyId"> & object;

Defined in: adapter.ts:164

Options with a framework-specific target, such as a ref.

Type Declaration

target?

ts
optional target?: TTarget;

The element to listen on. Defaults to document.

Type Parameters

TOptions

TOptions

TTarget

TTarget