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

package.dist.prod.util.isElementContainingBlock.js.map Maven / Gradle / Ivy

{
  "version": 3,
  "sources": ["../../../src/util/isElementContainingBlock.ts"],
  "sourcesContent": ["const isElementContainingBlock = (el: HTMLElement) => {\n\tconst computedStyle = getComputedStyle(el);\n\n\treturn [\"size\", \"inline-size\"].indexOf(computedStyle.containerType) > -1\n\t|| [\"transform\", \"perspective\"].indexOf(computedStyle.willChange) > -1\n\t|| [\"layout\", \"paint\", \"strict\", \"content\"].indexOf(computedStyle.contain) > -1\n\t|| (computedStyle.transform && computedStyle.transform !== \"none\")\n\t|| (computedStyle.perspective && computedStyle.perspective !== \"none\")\n\t|| (computedStyle.backdropFilter && computedStyle.backdropFilter !== \"none\");\n};\n\nexport default isElementContainingBlock;\n"],
  "mappings": "aAAA,MAAMA,EAA4BC,GAAoB,CACrD,MAAMC,EAAgB,iBAAiBD,CAAE,EAEzC,MAAO,CAAC,OAAQ,aAAa,EAAE,QAAQC,EAAc,aAAa,EAAI,IACnE,CAAC,YAAa,aAAa,EAAE,QAAQA,EAAc,UAAU,EAAI,IACjE,CAAC,SAAU,QAAS,SAAU,SAAS,EAAE,QAAQA,EAAc,OAAO,EAAI,IACzEA,EAAc,WAAaA,EAAc,YAAc,QACvDA,EAAc,aAAeA,EAAc,cAAgB,QAC3DA,EAAc,gBAAkBA,EAAc,iBAAmB,MACtE,EAEA,eAAeF",
  "names": ["isElementContainingBlock", "el", "computedStyle"]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy