1.0.2 • Published 2 years ago
frontend-file-downloader v1.0.2
frontend-file-downloader
Function
名称 | 描述 | 参数 |
---|---|---|
downloadByUrl | Download the file using the address | url: string, name?: string, headers?: Array<{ name: string; value: string }> |
downloadByBlob | Download files using streams | data: string, name?: string |
downloadByBase64 | Download files using Base64 | data: string, name?: string |
downloadByCanvas | Download files using Canvas | canvas: HTMLCanvasElement | undefined, name?: string |