Skip to main content
Version: Next

DownloadBehavior interface

Signature

export interface DownloadBehavior

Properties

Property

Modifiers

Type

Description

Default

downloadPath

optional

string

The default path to save downloaded files to.

Remarks:

Setting this is required if behavior is set to allow or allowAndName.

policy

DownloadPolicy

Whether to allow all or deny all download requests, or use default behavior if available.

Remarks:

Setting this to allowAndName will name all files according to their download guids.