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

progressively.render() not working #34

Open
gitbrutus opened this issue Feb 5, 2020 · 0 comments
Open

progressively.render() not working #34

gitbrutus opened this issue Feb 5, 2020 · 0 comments

Comments

@gitbrutus
Copy link

Hello, I'm trying to use the render() method to have images load before I scroll them into view. I'm not sure if that's a bug or if I'm just using it wrong (which is more likely).

Unfortunately there is no explanation in the documentation of how to use the render method and where to place it. I've simply put it below the init method, which is probably not the right way to do it? Or do I have to add anything to the img classes as well? What am I missing?

progressively.init({ ... });
$(document).ready(function() {
progressively.render()
});

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

1 participant