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

resize event support #120

Open
jihgao opened this issue Dec 7, 2017 · 1 comment
Open

resize event support #120

jihgao opened this issue Dec 7, 2017 · 1 comment

Comments

@jihgao
Copy link

jihgao commented Dec 7, 2017

Currently, it does not support resize event which causes some of the images would not be loaded if the window size changed. Could someone look into it?

@s0kil
Copy link

s0kil commented Mar 3, 2018

@jihgao This library was created to be minimal, you could read more @ https://toddmotto.com/echo-js-simple-javascript-image-lazy-loading/

But echo does have a render function for cases like this. @ https://github.com/toddmotto/echo#render

Creating a performant onresize event.
https://iamakulov.com/notes/resize-scroll
https://codepen.io/bencentra/pen/PwapWX

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