# CheckBox

# type: checkBox

With this Element the boolean value of a Variable can be changed.

CheckBox-Element

# Configuration Overview

{
  "id": "checkBox",
  "type": "checkBox",
  "config": {
    "label": "Test Checkbox",
    "variable": "testVar",
    "disabled": false,
    "invertValue": true
  }
}
1
2
3
4
5
6
7
8
9
10

# Properties

# id

Property: id

Type: string

Description: The unique ID assigned to the Element. This is defined by the Builder and used to refer to the Element in Layouts.

"id": "checkBox"
1

# type

Property: type

Type: string

Description: Type of the Element.

"type": "checkBox"
1

# config.label

Property: config.label

Type: string

Description: Properties for the label of the CheckBox.

"label": "Test Checkbox",
1

# config.variable

Property: config.variable

Type: string

Description: Properties to assign a Variable to the CheckBox.

"variable": "testVar",
1

# config.disabled

Property: config.disabled

Type: boolean

Description: Properties to disable / enable the CheckBox. The default is false.

"disabled": false,
1

# config.invertValue

Property: config.invertValue

Type: boolean

Description: Properties to invert the value of the Variable. If the CheckBox is checked the Variable value will be false. The default value of this property is false.

"invertValue": true,
1