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

Export lazyload function #59

Closed
wants to merge 2 commits into from
Closed

Export lazyload function #59

wants to merge 2 commits into from

Conversation

CyrilKrylatov
Copy link
Contributor

@CyrilKrylatov CyrilKrylatov commented Feb 27, 2020

Hi @mfranzke and thank you for this awesome plugin. So far it's the best one I've found about the whole lazyloading-polyfill thing.

Netherless I have an issue with the actual version : I can't lazyload an image that I'm loading after the DOM is ready, like after an AJAX request or so.

So I exported the lazyload() function so I can call it whenever I want.

Tell me what do you think about it.

Cheers!

@nikolay-borzov
Copy link

You should probably avoid changing tab type

@mfranzke
Copy link
Owner

@CyrilKrylatov & nikolay-borzov - sadly it took me a while to provide a solution. Do you have the chance to review my implementation provided with #96 ?

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

Successfully merging this pull request may close these issues.

3 participants