8 lines
529 B
TypeScript
8 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;
|