UNPKG

@scania/tegel

Version:
9 lines (8 loc) 417 B
/** * Find the previous 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 findPreviousFocusableElement: (items: any[], previousItemIndex: number) => number; export default findPreviousFocusableElement;