1 line
1011 B
Plaintext
1 line
1011 B
Plaintext
{"version":3,"sources":["./node_modules/@ionic/core/dist/esm/status-tap-b46a1b02.js"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAoE;;AAEpE;AACA;AACA;AACA,IAAI,4DAAQ;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,4DAAS;AACnB,SAAS;AACT;AACA,KAAK;AACL,GAAG;AACH;;AAE0B","file":"status-tap-b46a1b02-js-es2015.js","sourcesContent":["import { f as readTask, c as writeTask } from './index-e806d1f6.js';\n\nconst startStatusTap = () => {\n const win = window;\n win.addEventListener('statusTap', () => {\n readTask(() => {\n const width = win.innerWidth;\n const height = win.innerHeight;\n const el = document.elementFromPoint(width / 2, height / 2);\n if (!el) {\n return;\n }\n const contentEl = el.closest('ion-content');\n if (contentEl) {\n contentEl.componentOnReady().then(() => {\n writeTask(() => contentEl.scrollToTop(300));\n });\n }\n });\n });\n};\n\nexport { startStatusTap };\n"],"sourceRoot":"webpack:///"} |