Skip to content

ElectronWebContents.downloadURL method

ElectronWebContents › downloadURL

Unofficial

Initiates a download of the resource at url without navigating.

Signature:

downloadURL(url: string): void

Parameters:

Parameter Type Description
url string The URL of the resource to download.

Returns: void