kjelsrud.dev/node_modules/astro/dist/runtime/client/visible.prebuilt.d.ts
2023-07-19 21:31:30 +02:00

7 lines
529 B
TypeScript

/**
* This file is prebuilt from packages/astro/src/runtime/client/visible.ts
* Do not edit this directly, but instead edit that file and rerun the prebuild
* to generate this file.
*/
declare const _default: "(()=>{var r=(i,c,n)=>{let s=async()=>{await(await i())()},t=new IntersectionObserver(e=>{for(let o of e)if(o.isIntersecting){t.disconnect(),s();break}});for(let e of n.children)t.observe(e)};(self.Astro||(self.Astro={})).visible=r;window.dispatchEvent(new Event(\"astro:visible\"));})();";
export default _default;