ImageLoader

Given a path, this cmd will load an image and return an HTMLImageElement for you to make use of.

class Object
trait Matchable
class Any

Type members

Classlikes

enum Result

Value members

Concrete methods

def load[F[_] : Async, Msg](path: String)(resultToMessage: Result => Msg): Cmd[F, Msg]

Load an image from the given path and produce a message

Load an image from the given path and produce a message