Interface TextComboBoxControl

Represents a text control that can be used in a Svelte component.

The name of the control

The direction of the control either "Read/Write", "Read Only", or "Write Only"

The type of the control as reported by Q-SYS. One of "Boolean", "Integer", "Float", "Text", "Trigger", or "Time"

The raw control data provided by the QRWC Library. NOTE: Values in the raw control object are not reactive.

$state of the control's string (string), set to command the control to change its string.

$state of the controls selected index in the choices array. If the current string is not in the choices array, the value will be -1. If the control is set to a value that is not in the choices array or -1, the control will be set to an empty string.

$state of the array of strings that the control can be set to. This can only be read from the Core, but is reactive

interface TextComboBoxControl {
    choices: string[];
    ControlName: string;
    Direction: ControlDirection;
    option: number;
    rawControl: undefined | Control;
    string: string;
    Type: ControlType;
}

Hierarchy (View Summary)

Properties

choices: string[]
ControlName: string
Direction: ControlDirection
option: number
rawControl: undefined | Control
string: string