Skip to content

Home > sculp-js > downloadHref

downloadHref() function

通过 A 链接的方式下载

Signature:

typescript
export declare function downloadHref(href: string, filename: string, callback?: Function): void;

Parameters

Parameter

Type

Description

href

string

filename

string

callback

Function

(Optional)

Returns:

void

Released under the MIT License.