@guruhotel/aura-hooks
Version:
🪝 Hooks library designed by the Guruhotel team for Aura UI
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[];