Skip to content

TextBoxVariableBuilder🔗

Constructor🔗

new TextBoxVariableBuilder(name: string)

Methods🔗

build🔗

Builds the object.

build()

current🔗

Shows current selected variable text/value on the dashboard

current(current: dashboard.VariableOption)

defaultValue🔗

Query used to fetch values for a variable

defaultValue(query: string | Record<string, any>)

description🔗

Description of variable. It can be defined but null.

description(description: string)

hide🔗

Visibility configuration for the variable

hide(hide: dashboard.VariableHide)

label🔗

Optional display name

label(label: string)

name🔗

Name of variable

name(name: string)

options🔗

Options that can be selected for a variable.

options(options: dashboard.VariableOption[])

See also🔗