downloadFile
Datalayer Core / downloadFile
Function: downloadFile()
downloadFile(
data
,filename
,mime?
,bom?
):void
Defined in: tech/datalayer/core/src/utils/DownloadFile.ts:14
Parameters
data
any
filename
string
mime?
any
See https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
bom?
any
A byte order mark (BOM) is a sequence of bytes used to indicate Unicode encoding of a text file. The underlying character code, U+FEFF , takes one of the following forms depending on the character encoding.
.zip ZIP archive application/zip
Returns
void