@dailyshot/hooks
Version:
A set of hooks used in Dailyshot packages
5 lines • 351 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[];
//# sourceMappingURL=tabbable.d.ts.map