Pixel Data JS - v0.40.1
    Preparing search index...

    Function imageElementLoaded

    • Resolves with img once it has fully loaded, using cached state when available. Rejects with FailedToLoadImageError if the image fails to load or is already broken.

      Parameters

      • img: HTMLImageElement

      Returns Promise<HTMLImageElement>