aiber-martin/www/status-tap-0b3e89c4-js-es2015.js.map
Martin Donnelly a4b8625d0f init
2020-12-17 16:23:12 +00:00

1 line
1.1 KiB
Plaintext

{"version":3,"sources":["./node_modules/@ionic/core/dist/esm/status-tap-0b3e89c4.js"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAoE;;AAEpE;AACA;AACA;AACA,QAAQ,4DAAQ;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,4DAAS;AAC7B,iBAAiB;AACjB;AACA,SAAS;AACT,KAAK;AACL;;AAE0B","file":"status-tap-0b3e89c4-js-es2015.js","sourcesContent":["import { f as readTask, c as writeTask } from './index-92848855.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:///"}