ImageLoader Class

Module: Loaders

ImageLoader can be used to load external image resources.

Constructor

ImageLoader

(
  • manager
)

Parameters:

  • manager Object

Item Index

Methods

Methods

loadJSON

(
  • url
  • onLoad
  • onProgress
  • onError
)

Load image resource from url.

Parameters:

  • url String
  • onLoad Function
  • onProgress Function
  • onError Function

parse

(
  • json
)
Image

Parse image json and return resource.

Parameters:

  • json Object

Returns:

Image:

Image resource