Skip to content

Home > sculp-js > downloadBlob

downloadBlob() function

将大文件对象通过 A 链接的方式下载

Signature:

typescript
export declare function downloadBlob(blob: Blob, filename: string, callback?: Function): void;

Parameters

Parameter

Type

Description

blob

Blob

filename

string

callback

Function

(Optional)

Returns:

void

Released under the MIT License.