(activeElementInfo, container)
| 6715 | if (input.setSelectionRange && activeElementInfo && activeElementInfo.selectionStart != null && activeElementInfo.selectionEnd != null) input.setSelectionRange(activeElementInfo.selectionStart, activeElementInfo.selectionEnd, activeElementInfo.selectionDirection); |
| 6716 | } |
| 6717 | function setActiveElement(activeElementInfo, container) { |
| 6718 | if (activeElementInfo) { |
| 6719 | const element = findElementByChildPositions(activeElementInfo.childPositions, container); |
| 6720 | if (element) focusActiveElement(element, activeElementInfo); |
| 6721 | } |
| 6722 | } |
| 6723 | function getActiveElementInfo(container) { |
| 6724 | let element = document.activeElement; |
| 6725 | const { scrollTop , selectionDirection , selectionEnd , selectionStart } = element; |
no test coverage detected