LitRL-Demo-Frontend / dist /assets /status-tap-4bOUhZsk.js
c-gohlke's picture
Upload folder using huggingface_hub
c743388 verified
raw
history blame contribute delete
480 Bytes
import{r as a,f as i,b as c,w as d,s as l}from"./index-M3ODcycN.js";/*!
* (C) Ionic http://ionicframework.com - MIT License
*/const m=()=>{const e=window;e.addEventListener("statusTap",()=>{a(()=>{const o=e.innerWidth,s=e.innerHeight,n=document.elementFromPoint(o/2,s/2);if(!n)return;const t=i(n);t&&new Promise(r=>c(t,r)).then(()=>{d(async()=>{t.style.setProperty("--overflow","hidden"),await l(t,300),t.style.removeProperty("--overflow")})})})})};export{m as startStatusTap};