import * as ayonliJsext from "https://deno.land/x/ayonli_jsext@v0.9.72/dialog/index.ts";
Asynchronous dialog functions for both browsers and terminals.
This includes alert
, confirm
, prompt
and other non-standard dialogs.
Functions
Displays a dialog with a message, and to wait until the user dismisses the dialog. | |
Displays a dialog with a message, and to wait until the user either confirms or cancels the dialog. | |
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 | |
Opens the file picker dialog and pick a file, this function returns the
file's path or a | |
Opens the file picker dialog and pick multiple files, this function returns
the paths or | |
Displays a dialog with a progress bar indicating the ongoing state of the
| |
Displays a dialog with a message prompting the user to input some text, and to wait until the user either submits the text or cancels the dialog. | |
Saves a file to the file system. |
Interfaces
Options for the downloadFile function. | |
Options for the pickFile function. | |
Options for the prompt function. | |
Options for the saveFile function. |