Preparing search index...
The search index is not available
@wsvaio/utils
@wsvaio/utils
download
Function download
download
(
url
,
name
?
)
:
void
一个实用函数,用于在浏览器中下载文件。
Parameters
url
:
string
要下载的文件的 URL。
Optional
name
:
string
下载的文件名。如果未提供,则将使用 URL 中的文件名。
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@wsvaio/utils
Progress
BuiltInObjects
Compose
JsonableObj
DeepKeys
DeepOmit
DeepPartial
DeepPick
IsEqual
IsOptional
Jsonable
JsonableArr
JsonableBasic
Middleware
Parameters
ToUnionOfFunction
UnionToIntersection
ValueOf
Writeable
filePickerKey
arrayToTree
Loading...
Generated using
TypeDoc
一个实用函数,用于在浏览器中下载文件。