Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/netzo/deps/question/mod.ts>ConfirmOptions

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
interface ConfirmOptions
Re-export
import { type ConfirmOptions } from "https://deno.land/x/netzo@0.4.40/deps/question/mod.ts";

Properties

optional
defaultValue: boolean

The default or preferred action. Not specifying it indicates no preference and a boolean of true is positive and a boolean of false is negative.

optional
positiveText: string

The text that indicates a positive response. Default is 'Yes'

optional
negativeText: string

The text that indicates a negative response. Default is 'No'