一个 Svelte 动作,可监控元素是否进入或离开视口。🔥
A Svelte action that monitors an element enters or leaves the viewport.🔥