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

x/ayonli_jsext/workerd/dialog.ts>openFile

A JavaScript extension package for building strong and modern applications.
Latest
function openFile
import { openFile } from "https://deno.land/x/ayonli_jsext@v0.9.72/workerd/dialog.ts";

Returns

Promise<File | null>

Parameters

options: FileDialogOptions & { multiple: true; }

Returns

Promise<File[]>

Parameters

options: Pick<FileDialogOptions, "title"> & { directory: true; }

Returns

Promise<File[]>