arrowtab
Version:
Use arrow keys to "tab" between focusable elements
13 lines (12 loc) • 316 B
TypeScript
type StrategyItem = {
element: Element;
withinReach: boolean;
};
type Strategy = (options: {
event: KeyboardEvent;
focusableElements: Element[];
activeElement: Element;
}) => StrategyItem[];
export declare const getByXWalkEuclidean: Strategy;
export declare const getByGrid: Strategy;
export {};