package.dist.prod.util.getParentElement.js.map Maven / Gradle / Ivy
{
"version": 3,
"sources": ["../../../src/util/getParentElement.ts"],
"sourcesContent": ["const getParentElement = (el: HTMLElement) => {\n\treturn (el.parentElement ? el.parentNode : (el.parentNode as ShadowRoot).host) as HTMLElement;\n};\n\nexport default getParentElement;\n"],
"mappings": "aAAA,MAAMA,EAAoBC,GACjBA,EAAG,cAAgBA,EAAG,WAAcA,EAAG,WAA0B,KAG1E,eAAeD",
"names": ["getParentElement", "el"]
}