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

x/ayonli_jsext/esm/dialog/file.js

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

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 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.