airfranceklm / ng-lazy-image

Angular directive for loading responsive image when container (which is preventing reflow) is in viewport.
http://afklm.github.io/ng-lazy-image/
MIT License
351 stars 64 forks source link

Add IMAGECLASSNAME also for background option #40

Closed machnicki closed 8 years ago

machnicki commented 8 years ago

Its helpful if you want to add some css effects after loading the background.

SquadraCorse commented 8 years ago

The className for the background container is set when the background container comes in view, not when the image is loaded. So this will only be handy if you want to do something when the container comes into view, not when it is really loaded.

machnicki commented 8 years ago

Yeah. You're right. Thanks