Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/dialog.ts>DownloadFileOptions

A JavaScript extension package for building strong and modern applications.
Latest
interface DownloadFileOptions
implements SaveFileOptions
Re-export
import { type DownloadFileOptions } from "https://deno.land/x/ayonli_jsext@v0.9.72/dialog.ts";

Options for the downloadFile function.

Properties

optional
onProgress: (event: ProgressEvent) => void

A callback function that will be called when the download progress changes.

optional
showProgress: boolean

Displays a progress bar during the download process. This option shadows the signal option if provided, as the progress bar has its own cancellation mechanism.