package.dist.prod.util.isElementHidden.js.map Maven / Gradle / Ivy
{
"version": 3,
"sources": ["../../../src/util/isElementHidden.ts"],
"sourcesContent": ["const isElementHidden = (el: HTMLElement) => {\n\tif (el.nodeName === \"SLOT\") {\n\t\treturn false;\n\t}\n\n\treturn (el.offsetWidth <= 0 && el.offsetHeight <= 0) || (el.style && el.style.visibility === \"hidden\");\n};\n\nexport default isElementHidden;\n"],
"mappings": "aAAA,MAAMA,EAAmBC,GACpBA,EAAG,WAAa,OACZ,GAGAA,EAAG,aAAe,GAAKA,EAAG,cAAgB,GAAOA,EAAG,OAASA,EAAG,MAAM,aAAe,SAG9F,eAAeD",
"names": ["isElementHidden", "el"]
}