| Members | Methods |
|---|---|
Constructor
new ImageJob(options)
Parameters:
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | Options for this ImageJob.
Properties
|
- Source:
Members
data :Image|*
Data object which will contain downloaded image data.
Type:
- Image | *
- Source:
userData :*
User workspace to populate with helper variables
Type:
- *
- Source:
Methods
finish(data, request, dataType)
Finish this job.
Parameters:
| Name | Type | Description |
|---|---|---|
data |
* | data that has been downloaded |
request |
XMLHttpRequest | reference to the request if used |
dataType |
string | data type identifier fallback compatibility behavior: dataType treated as errorMessage if data is falsey value |
- Source:
start()
Starts the image job.
- Source: