# Class: LoaderDataBuilder

## coreutils. LoaderDataBuilder

#### new LoaderDataBuilder()

  Static builder class to create loader data objects

### Methods

#### <static> createImageLoaderData(loaderID, assetID, url, callback, context)

  Create loader data for image

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `loaderID` | string | loader id
  `assetID` | string | asset id
  `url` | string | path to image
  `callback` | function | on finish callabck
  `context` | object | null | scope of callback

  ##### Returns:

  laoder data object
  Type
    coreutils.LoaderDataVO

#### <static> createJSONLoaderData(loaderID, assetID, url, callback, context)

  Create loader data for json

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `loaderID` | string | loader id
  `assetID` | string | asset id
  `url` | string | path to json
  `callback` | function | on finish callabck
  `context` | object | null | scope of callback

  ##### Returns:

  laoder data object
  Type
    coreutils.LoaderDataVO

#### Search results