Constructor
new DownloadService()
Constructor of DownloadService
Classes
Methods
(async) download(data, strFileName, strMimeType) → {Promise.<void>}
Download file
Parameters:
Name | Type | Description |
---|---|---|
data |
string | Object | Downloaded data |
strFileName |
string | Name of downloaded file |
strMimeType |
string | Mime type of downloaded file |
Returns:
- Promise resolved after downloading file
- Type
- Promise.<void>