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

x/ayonli_jsext/dialog.ts>alert

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

Displays a dialog with a message, and to wait until the user dismisses the dialog.

Examples

Example 1

import { alert } from "@ayonli/jsext/dialog";

await alert("Hello, world!");

Parameters

message: string
optional
options: DialogOptions = [UNSUPPORTED]

Returns

Promise<void>