@scania/tegel
Version:
Tegel Design System
8 lines (7 loc) • 398 B
TypeScript
/**
* Find the next focusable element index in a list of focusable elements.
* @param items List of focusable elements, element with a attribute of disabled that is true will be skipped over.
* @param nextItemIndex The index in the list to start the search on.
*/
declare const findNextFocusableElement: (items: any[], nextItemIndex: number) => number;
export default findNextFocusableElement;