utilities.download.md

January 18, 2023 ยท View on GitHub

Home > @datashaper/utilities > download

download() function

Downloads a copy of a file in the specified format

Signature:

export declare function download(filename: string, type: string, data: Blob): void;

Parameters

ParameterTypeDescription
filenamestring
typestring
dataBlob

Returns:

void

Contents

  1. 1download() function
  2. 2Parameters