All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.util.getActiveElement.js Maven / Gradle / Ivy

const getActiveElement = () => {
    let element = document.activeElement;
    while (element && element.shadowRoot && element.shadowRoot.activeElement) {
        element = element.shadowRoot.activeElement;
    }
    return element;
};
export default getActiveElement;
//# sourceMappingURL=getActiveElement.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy