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

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

{
  "version": 3,
  "sources": ["../../../src/util/getActiveElement.ts"],
  "sourcesContent": ["const getActiveElement = () => {\n\tlet element = document.activeElement;\n\n\twhile (element && element.shadowRoot && element.shadowRoot.activeElement) {\n\t\telement = element.shadowRoot.activeElement;\n\t}\n\n\treturn element;\n};\n\nexport default getActiveElement;\n"],
  "mappings": "aAAA,MAAMA,EAAmB,IAAM,CAC9B,IAAIC,EAAU,SAAS,cAEvB,KAAOA,GAAWA,EAAQ,YAAcA,EAAQ,WAAW,eAC1DA,EAAUA,EAAQ,WAAW,cAG9B,OAAOA,CACR,EAEA,eAAeD",
  "names": ["getActiveElement", "element"]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy