You can get the focused element with document.activeElement but, if it's inside a shadow root, this will be the host element.
確定! 回上一頁