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

x/pptr/src/Dialog.ts>Dialog#defaultValue

Headless Chrome Deno API
Latest
method Dialog.prototype.defaultValue
import { Dialog } from "https://deno.land/x/pptr@1.2.0/src/Dialog.ts";

Returns

string

The default value of the prompt, or an empty string if the dialog is not a prompt.