Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Input

Get user input

- Input: 
    title: User input
    var: userInput

- Echo: ${userInput}

Hierarchy

  • Tag
    • Input

Index

Constructors

constructor

  • new Input(attrs: any): Input
  • Parameters

    • attrs: any

    Returns Input

Properties

async

async: boolean

Run async

Optional choices

choices: {}[]

Allow user pick some in the list which we expected

disabled

disabled: boolean

Ignore this, not run

ignoreError

ignoreError: boolean

Keep run the next when got error

pattern

pattern: string

Validate user input with the pattern

required

required: boolean

Force user must enter something

slient

slient: boolean

Not show log

testIt

testIt: boolean

Only allow run it then ignore others which not set testIt or set it to false

title

title: string

Step title

type

type: "number" | "text" | "password" | "invisible" | "confirm" | "list" | "toggle" | "select" | "multiselect" | "autocompleteMultiselect" | "autocomplete" | "date"

User input type

var

var: string

Set user input data to this

vars

vars: any

Declare global variable