springroll.LoaderItem Class
Represents a single item in the loader queue
_internalStart
()
private
Start the loading internally
_onCompleted
private
The file was loaded successfully
_onFailed
()
private
There was an error loading the file
_onProgress
private
The file load progress event
start
Parameters:
-
maxCurrentLoads
Int
The max number of simultaneous load
toString
()
String
public
Represent this object as a string
Returns:
String:
The string representation of this object
_onCompleted
Function
private
The callback when a load queue item completes
_onFailed
Function
private
The callback when a load queue item fails
_onProgress
Function
private
The callback when a load queue item progresses
basePath
String
The base path of the load
Default: null
crossOrigin
Boolean
If this load should be cross origin
Default: false
data
public
Data associate with the load
MAX_RETRIES
Int
static
Represent this object as a string
Default: 3
onComplete
Function
public
The callback function of the load, to call when
the load as finished, takes one argument as result
preparedUrl
String
public
The actual url of the load
retries
Int
The number of times this load has been retried
url
String
public
The original input url of the load
verbose
Boolean
static
If the loads should be verbose
Default: false