(container: HTMLElement, startFromContainer?: boolean)
| 17 | }; |
| 18 | |
| 19 | const getFirstFocusableElement = async (container: HTMLElement, startFromContainer?: boolean): FocusableElementPromise => { |
| 20 | if (!container || isElementHidden(container)) { |
| 21 | return null; |
| 22 | } |
| 23 | |
| 24 | return findFocusableElement(container, true, startFromContainer); |
| 25 | }; |
| 26 | |
| 27 | const getLastFocusableElement = async (container: HTMLElement, startFromContainer?: boolean): FocusableElementPromise => { |
| 28 | if (!container || isElementHidden(container)) { |
no test coverage detected
searching dependent graphs…