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
Sometimes you want to force a lazyload on an image, in case of a resize event or similar.
When trying to do this in Nuxt by taking the class instance and running the .lazyLoad function it will break even if put within a process.client check since we modify window outside of the class (See lines 14. 15: https://github.com/Novicell/novicell-lazyload/blob/master/js/lazy-images.js#L14)
process.client
I suggest we wrap the config init on window in a window check.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Sometimes you want to force a lazyload on an image, in case of a resize event or similar.
When trying to do this in Nuxt by taking the class instance and running the .lazyLoad function it will break even if put within a
process.client
check since we modify window outside of the class (See lines 14. 15: https://github.com/Novicell/novicell-lazyload/blob/master/js/lazy-images.js#L14)I suggest we wrap the config init on window in a window check.
The text was updated successfully, but these errors were encountered: