Skip to main content

Daniel

Member since Jan 8, 2018

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 »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel