angular-lazy-img icon indicating copy to clipboard operation
angular-lazy-img copied to clipboard

Changes to img source value in lazy-img attribute not being picked up

Open kiwikoda opened this issue 8 years ago • 1 comments

After first assigning an image source to the lazy-img attribute, subsequent changes to the attribute value are not picked up.

I think this used to work and would be a good feature.

Reversing change https://github.com/Pentiado/angular-lazy-img/pull/19/commits/e33b01141b13e5ee9c086e83639a8fd1ba409e40 (i.e. removing the deregister() call that was added inside the attribute observer) fixes the issue.

kiwikoda avatar Nov 25 '17 10:11 kiwikoda

I'm having the same issue -- Using $onChanges lifecycle, changes recognized but $rootScope.$emit('lazyImg:refresh'); doesn't cause repopulation of src attribute.

craig-o-curtis avatar Apr 12 '18 19:04 craig-o-curtis