@zoff-tech/zt-bottom-drawer
Version:
Bottom Drawer / Web Component
5 lines • 600 B
JavaScript
import{i as o,w as s}from"./p-f6c816ce.js";import{f as t,s as a}from"./p-c45d7139.js";import{a as n}from"./p-a75a9102.js";
/*!
* (C) Ionic http://ionicframework.com - MIT License
*/const r=()=>{const r=window;r.addEventListener("statusTap",(()=>{o((()=>{const o=r.innerWidth;const c=r.innerHeight;const i=document.elementFromPoint(o/2,c/2);if(!i){return}const e=t(i);if(e){new Promise((o=>n(e,o))).then((()=>{s((async()=>{e.style.setProperty("--overflow","hidden");await a(e,300);e.style.removeProperty("--overflow")}))}))}}))}))};export{r as startStatusTap};
//# sourceMappingURL=p-aea3f11f.js.map