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

x/ayonli_jsext/dialog/file.ts

A JavaScript extension package for building strong and modern applications.
Latest
import * as ayonliJsext from "https://deno.land/x/ayonli_jsext@v0.9.72/dialog/file.ts";

Functions

Downloads the file of the given URL to the file system.

Opens the directory picker dialog and selects all its files to open.

Opens the file picker dialog and selects a file to open.

Opens the file picker dialog and selects multiple files to open.

Opens the file picker dialog and pick a directory, this function returns the directory's path or FileSystemDirectoryHandle in the browser.

Opens the file picker dialog and pick a file, this function returns the file's path or a FileSystemFileHandle in the browser.

Opens the file picker dialog and pick multiple files, this function returns the paths or FileSystemFileHandle objects in the browser of the files selected.

Saves a file to the file system.

Interfaces

Options for the downloadFile function.

Options for file dialog functions, such as pickFile and openFile.

Options for the pickFile function.

Options for the saveFile function.