Function createImage

  • Creates a HTML image element from a url.

    Parameters

    • url: string

      url of the image

    Returns Promise<HTMLImageElement>