Skip to main content

DrawGetImageOnError

Callable

  • DrawGetImageOnError(Img: HTMLImageElement & { errorcount?: number }, IsAsset: boolean): void

  • Attempts to redownload an image if it previously failed to load


    Parameters

    • Img: HTMLImageElement & { errorcount?: number }

      Image tag that failed to load

    • IsAsset: boolean

      Whether or not the image is part of an asset

    Returns void

    • Nothing