Skip to content

Latest commit

 

History

History
168 lines (92 loc) · 2.2 KB

SelectQuestion.md

File metadata and controls

168 lines (92 loc) · 2.2 KB

Interface: SelectQuestion

Hierarchy

  • BaseQuestion<number | string>

  • QuestionHints

  • QuestionChoices

    SelectQuestion

Table of contents

Properties

Methods

Properties

choices

choices: ChoiceDefinition | ChoiceOption[]

Inherited from

QuestionChoices.choices


format

format: PromptsMethod

Inherited from

BaseQuestion.format


hint

hint: string

Inherited from

QuestionHints.hint


initial

initial: string | number | PromptsMethod

Inherited from

BaseQuestion.initial


message

message: string | PromptsMethod

Inherited from

BaseQuestion.message


name

name: string | PromptsMethod

Inherited from

BaseQuestion.name


stdin

stdin: internal

Inherited from

BaseQuestion.stdin


stdout

stdout: internal

Inherited from

BaseQuestion.stdout


type

type: "select" | PromptTypeMethod<"select">


warn

warn: string

Inherited from

QuestionHints.warn

Methods

onRender

onRender(this, kluer): void

Parameters

Name Type
this prompts
kluer any

Returns

void

Inherited from

BaseQuestion.onRender


onState

onState(state): void

Parameters

Name Type
state PromptState

Returns

void

Inherited from

BaseQuestion.onState