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

x/pptr/mod.ts>Dialog#defaultValue

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

Returns

string

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