Represents a text control that can be used in a Svelte component.
Param: ControlName
The name of the control
Param: Direction
The direction of the control either "Read/Write", "Read Only", or "Write Only"
Param: Type
The type of the control as reported by Q-SYS. One of "Boolean", "Integer", "Float", "Text", "Trigger", or "Time"
Param: rawControl
The raw control data provided by the QRWC Library. NOTE: Values in the raw control object are not reactive.
Param: string
$state of the control's string (string), set to command the control to change its string.
Param: option
$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.
Param: choices
$state of the array of strings that the control can be set to. This can only be read from the Core, but is reactive
Represents a text control that can be used in a Svelte component.
Param: ControlName
The name of the control
Param: Direction
The direction of the control either "Read/Write", "Read Only", or "Write Only"
Param: Type
The type of the control as reported by Q-SYS. One of "Boolean", "Integer", "Float", "Text", "Trigger", or "Time"
Param: rawControl
The raw control data provided by the QRWC Library. NOTE: Values in the raw control object are not reactive.
Param: string
$state of the control's string (string), set to command the control to change its string.
Param: option
$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.
Param: choices
$state of the array of strings that the control can be set to. This can only be read from the Core, but is reactive