@resee-movies/utilities - v0.8.0
    Preparing search index...

    Function loadImage

    • Load an image asset. In client environments, where Image is available, this method will return a promise that resolves when the file is loaded (and decoded), and rejects on any error encountered. In server environments, the value of src is resolved immediately.

      Parameters

      • src: string

      Returns Promise<string>