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

using reloadItems() in Angular 2 #27

Closed
ht89 opened this issue Dec 6, 2016 · 3 comments
Closed

using reloadItems() in Angular 2 #27

ht89 opened this issue Dec 6, 2016 · 3 comments

Comments

@ht89
Copy link

ht89 commented Dec 6, 2016

Dear @jelgblad,
could you please show me how to use reloadItems() in Angular 2? There's no documentation about that. Thank you a lot.

@szbartnik
Copy link

szbartnik commented Dec 7, 2016

@jelgblad I'm also interested how to reload items after DOM changes. Do you have any temporary workaround to masonry's unexposed methods problem? Here is related question (without response) - #26

@jelgblad
Copy link
Owner

jelgblad commented Dec 8, 2016

@ht89, @kneefer in v0.3.1 _msnry gives you access to the Masonry-instance. Note that i haven't tested all of the Masonry API, and that's why there's a lot missing from the AngularMasonry API. #26 (comment)

So now you can do masonry._msnry.reloadItems().
See #10 (comment) on how to access AngularMasonry in your component.

@jelgblad jelgblad closed this as completed Dec 8, 2016
@ht89
Copy link
Author

ht89 commented Dec 8, 2016

@jelgblad thanks for your reply.

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

3 participants