一些实用的js收集

6 阅读1分钟

页面节点离开页面监听:IntersectionObserver

页面显示在视口:document.addEventListener('visibilitychange', () => {}, false);