Skip to content

RefTarget

ts
type RefTarget<TRef> = TRef | Target | null;

Defined in: adapter.ts:669

A framework ref, element, document, or window to listen on. A null or undefined target, or a ref that is still unset, waits for the element.

Type Parameters

TRef

TRef = { current: HTMLElement | null | undefined; }