We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How to use it correctly with Masonry (https://masonry.desandro.com/) ?
I found some information, how i can use it:
<script type="application/javascript"> $.endlessPaginate({ paginateOnScroll: true, paginateOnScrollMargin: 3840, onCompleted: function(context, fragment) { var masonry = $('.gallery').data('masonry'); if (masonry !== undefined) { masonry.reloadItems(); masonry.layout(); }} }); </script>
It's working, but it's working incorrectly. It's not reload items at the and of page. Why ? Please, help me fix it
I think i'm found some correctly working solution, but i don't sure, that it's correct way...
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.imagesloaded/3.1.8/imagesloaded.pkgd.min.js"></script> <script type="application/javascript"> $.endlessPaginate({ paginateOnScroll: true, paginateOnScrollMargin: 3840, onCompleted: function(context, fragment) { $(document).ready(function () { var gallery = $('.gallery'); gallery.imagesLoaded(function () { var masonry = gallery.data('masonry'); if (masonry !== undefined) { masonry.reloadItems(); masonry.layout(); } }); }); } }); </script>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
How to use it correctly with Masonry (https://masonry.desandro.com/) ?
I found some information, how i can use it:
It's working, but it's working incorrectly. It's not reload items at the and of page. Why ?
Please, help me fix it
I think i'm found some correctly working solution, but i don't sure, that it's correct way...
The text was updated successfully, but these errors were encountered: