(items: HTMLIonItemElement[], currentItem: HTMLElement | null)
| 371 | * undefined. |
| 372 | */ |
| 373 | export const getNextItem = (items: HTMLIonItemElement[], currentItem: HTMLElement | null) => { |
| 374 | const currentItemIndex = getIndexOfItem(items, currentItem); |
| 375 | return items[currentItemIndex + 1]; |
| 376 | }; |
| 377 | |
| 378 | /** |
| 379 | * Given an array of elements and a currently focused ion-item |
no test coverage detected