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

Is there a way to check if at least one image is loaded? #313

Open
bit-pax opened this issue Feb 16, 2024 · 0 comments
Open

Is there a way to check if at least one image is loaded? #313

bit-pax opened this issue Feb 16, 2024 · 0 comments

Comments

@bit-pax
Copy link

bit-pax commented Feb 16, 2024

Is there a way to check if at least one image is loaded and get that image's width & height?

So basically all the images I have are the same size, so as soon as one is loaded, I can apply the image dimensions to all image containers and have the app moving forward instead of having to wait for all images to load. I don't do this in advance because the it's designed to be responsive so images sizes can be different depending on the screen width.

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