@huluvu424242/honey-slideshow
Version:
Text to Speech component wich is reading texts from DOM elements.
1 lines • 320 B
JavaScript
import{i as t,j as o}from"./p-4a369965.js";const n=()=>{const n=window;n.addEventListener("statusTap",()=>{t(()=>{const t=document.elementFromPoint(n.innerWidth/2,n.innerHeight/2);if(!t)return;const s=t.closest("ion-content");s&&s.componentOnReady().then(()=>{o(()=>s.scrollToTop(300))})})})};export{n as startStatusTap}