@zoff-tech/zt-bottom-drawer
Version:
Bottom Drawer / Web Component
5 lines • 1.3 kB
JavaScript
/*!
* (C) Ionic http://ionicframework.com - MIT License
*/
const n=(n,e)=>{if(n.componentOnReady){n.componentOnReady().then((n=>e(n)))}else{o((()=>e(n)))}};const e=(n,e,t,o)=>{var i;if(typeof window!=="undefined"){const r=window;const s=(i=r===null||r===void 0?void 0:r.Ionic)===null||i===void 0?void 0:i.config;if(s){const i=s.get("_ael");if(i){return i(n,e,t,o)}else if(s._ael){return s._ael(n,e,t,o)}}}return n.addEventListener(e,t,o)};const t=(n,e,t,o)=>{var i;if(typeof window!=="undefined"){const r=window;const s=(i=r===null||r===void 0?void 0:r.Ionic)===null||i===void 0?void 0:i.config;if(s){const i=s.get("_rel");if(i){return i(n,e,t,o)}else if(s._rel){return s._rel(n,e,t,o)}}}return n.removeEventListener(e,t,o)};const o=n=>{if(typeof __zone_symbol__requestAnimationFrame==="function"){return __zone_symbol__requestAnimationFrame(n)}if(typeof requestAnimationFrame==="function"){return requestAnimationFrame(n)}return setTimeout(n)};const i=(n,e,t)=>Math.max(n,Math.min(e,t));const r=n=>n.timeStamp||Date.now();const s=n=>{if(n){const e=n.changedTouches;if(e&&e.length>0){const n=e[0];return{x:n.clientX,y:n.clientY}}if(n.pageX!==undefined){return{x:n.pageX,y:n.pageY}}}return{x:0,y:0}};export{n as a,e as b,i as c,t as d,r as n,s as p,o as r};
//# sourceMappingURL=p-a75a9102.js.map