package.dist.util.isElementHidden.js Maven / Gradle / Ivy
const isElementHidden = (el) => {
if (el.nodeName === "SLOT") {
return false;
}
return (el.offsetWidth <= 0 && el.offsetHeight <= 0) || (el.style && el.style.visibility === "hidden");
};
export default isElementHidden;
//# sourceMappingURL=isElementHidden.js.map