rpocklin/angular-scroll-animate

Refresh angular-scroll-animate

Opened this issue · 3 comments

Is there way to refresh angular-scroll-animate if elements have changed their position on page or new DOM elements has been added? For example if you are using Packery, Isotope or Shuffle libs to build brick layouts and use filtering to rearrange elements on page, angular-scroll-animate is not updating classes on elements if they are moved from bottom to top.

That's a good idea, how could you hook it in (assuming such a function existed)? Would you want a method, event handler etc?

probably method, now I have to trigger fake resize event on window to force scroll-animate to update classes

Cool, sounds good - i'll keep it in mind for a feature.