Skip to content
0

katanakit-js / useGetActiveElement

Function: useGetActiveElement() ​

ts
function useGetActiveElement(): Element | null;

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

Returns the currently focused element.

Returns ​

Element | null

The active element, or null in SSR.

Released under the MIT License.