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
350 stars 64 forks source link

Trigger lazy load with $broadcast #38

Closed musdy closed 8 years ago

musdy commented 8 years ago

Hey guys,

Is there a way to trigger lazy load event with $broadcast? I have load more functionality on the page, but once the new html arrives, I need to re-trigger lazy load event.

Thanks.

SquadraCorse commented 8 years ago

you can 'afkl.lazyImage.destroyed'

SquadraCorse commented 8 years ago

since 0.2.3 :)