模块曝光事件
IntersectionObserver API
API
// 开始观察
io.observe(document.getElementById('example'));
// 停止观察
io.unobserve(element);
// 关闭观察器
io.disconnect();callback 参数
IntersectionObserverEntry 对象
Option 对象
代码示例
Last updated