Interfaces
DownloadRequest
Represents a single download request.
Defined in: ui/image-cache/index.d.ts:7
Represents a single download request.
Properties
completed?
optional completed?: (image: any, key: string) => void;Defined in: ui/image-cache/index.d.ts:19
An optional function to be called when the download is complete.
Parameters
| Parameter | Type |
|---|---|
image | any |
key | string |
Returns
void
error?
optional error?: (key: string) => void;Defined in: ui/image-cache/index.d.ts:23
An optional function to be called if the download errors.
Parameters
| Parameter | Type |
|---|---|
key | string |
Returns
void
key
key: string;Defined in: ui/image-cache/index.d.ts:15
The key used to cache the image.
url
url: string;Defined in: ui/image-cache/index.d.ts:11
The url of the image.
- Previous
- DownloadError
- Next
- EventData