Skip to content

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

@algonorth

Description

@algonorth

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions