ApoorvSaxena / ApoorvSaxena/lozad.js
Link to IntersectionObserver in readme is broken
- 主要语言
- JavaScript
- 星标
- 7.5k
- 派生
- 435
- PR 合并指标
- 30 天内没有已合并 PR
描述
From the readme:
> Yet another Lazy Loading JavaScript library, why?
> Existing lazy loading libraries hook up to the scroll event or use a periodic timer and call getBoundingClientRect() on elements that need to be lazy loaded. This approach, however, is painfully slow as each call to getBoundingClientRect() forces the browser to re-layout the entire page and will introduce considerable jank to your website.
>
> Making this more efficient and performant is what [IntersectionObserver](https://developers.google.com/web/updates/2016/04/intersectionobserver) is designed for, and it’s landed in Chrome 51. IntersectionObservers let you know when an observed element enters or exits the browser’s viewport.
Broken link: [IntersectionObserver](https://developers.google.com/web/updates/2016/04/intersectionobserver)
贡献指南
评估
这个 Issue 还没有评估数据。