Skip to content

UseGetActiveElement

katanakit-js / useGetActiveElement

function useGetActiveElement(): Element | null;

Defined in: infrastructure/viewport/viewport.service.ts:271

Returns the currently focused element.

Element | null

The active element, or null in SSR.