TimF
Member since Jan 13, 2015
- Profile: /members/12491-timf.htm
- Comments: 2
Recent Blog Comments By TimF
-
Lazy Loading Image With AngularJS
Posted on Jan 13, 2015 at 3:09 AM
There might be a very simple jQuery way to listen for the scroll event of a container of the images, but I don't know it. And what happens if the scroll container isn't the immediate parent? I came up with a possible solution. I created a directive to be placed on the div being scrolled .directi... read more »
-
Lazy Loading Image With AngularJS
Posted on Jan 13, 2015 at 2:08 AM
My question is the same as Atinder. My viewport for the scroll region is a fixed div. I know startWatchingWindow() is where the change goes. The lines // Listen for window changes. win.on( "resize.bnLazySrc", windowChanged ); win.on( "scroll.bnLazySrc", windowChanged ); is... read more »