摘要: const intersectionObserver = new IntersectionObserver((entries) => { // 如果 intersectionRatio 为 0,则目标在视野外, // 我们不需要做任何事情。 if (entries[0].intersectionRa 阅读全文
posted @ 2023-04-27 17:27 半遮 阅读(60) 评论(0) 推荐(0) 编辑