@mantine/hooks
Version:
A collection of 50+ hooks for state and UI management
5 lines (4 loc) • 323 B
TypeScript
export declare const FOCUS_SELECTOR = "a, input, select, textarea, button, object, [tabindex]";
export declare function focusable(element: HTMLElement): boolean | "";
export declare function tabbable(element: HTMLElement): boolean | "";
export declare function findTabbableDescendants(element: HTMLElement): HTMLElement[];