Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh angular-scroll-animate #13

Open
ZetIsDeadBaby opened this issue Mar 26, 2016 · 3 comments
Open

Refresh angular-scroll-animate #13

ZetIsDeadBaby opened this issue Mar 26, 2016 · 3 comments

Comments

@ZetIsDeadBaby
Copy link

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.

@rpocklin
Copy link
Owner

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

@ZetIsDeadBaby
Copy link
Author

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

@rpocklin
Copy link
Owner

rpocklin commented Jun 8, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants