Daniel
Member since Jan 8, 2018
- Profile: /members/13686-daniel.htm
- Comments: 1
Recent Blog Comments By Daniel
-
Lazy Loading Images With The IntersectionObserver API In Angular 5.0.0
Posted on Jan 8, 2018 at 9:10 AM
@Luiz, I changed the method a little, so TypeScript will like it. Here we go: private handleIntersectionUpdate = (entries: IntersectionObserverEntry[]): void => { _.forEach(entries, (entry: any) => { const lazyTarget = this._targets.get(entry.target) as LazyTarget; if (lazyTarget) { lazy... read more »