Skip to main content
Module

x/deno/tools/release/deps.ts>dax.SelectOptions

A modern runtime for JavaScript and TypeScript.
Latest
interface dax.SelectOptions
Re-export
import { type dax } from "https://deno.land/x/deno@v1.41.0/tools/release/deps.ts";
const { SelectOptions } = dax;

Options for showing a selection that only has one result.

Properties

message: string

Prompt text to show the user.

optional
initialIndex: number

Initial selected option index. Defaults to 0.

options: string[]

Options to show the user.

optional
noClear: boolean

Whether to not clear the selection text on selection.