Skip to main content

Valve Command

Component Palette Icon:

Component Palette Icon
On
On
Auto
Auto
Manual
Manual
Off
Off
On
On
Off
Off
On
On
Off
Off
Main
Main
UpperSeat
UpperSeat
LowerSeat
LowerSeat
Text is not SVG - cannot display


A faceplate component for aauthorised user multi-port valve control. The appearence may be appropriately styled. Full menu of style options is available for text, background, margin and padding, border, shape and miscellaneous. You can also specify a style class.

Properties

Most Properties have binding options. For more information on Bindings, see Types of Bindings in Perspective. This section only documents the Props Category of properties. The other Categories are described on the Perspective Component Properties page.

NameDescriptionProperty Type
parametersA list of parameter objectsarray
styleSets a style for this chart. Full menu of style options is available for text, background, margin and padding, border, shape and miscellaneous. You can also specify a style classobject

parameter Properties

NameDescriptionProperty Type
labelConfiguration of parameter label propertiesobject
inputConfiguration of parameter input propertiesobject
tip

The label and input properties are attributes of the html tags <label> and <input>.
Further info on the html <input> and <label> tag can be found at mdn web docs website, with info for the OpenPropsUI Textfield Component at OpenPropsUI > Components > Input > Textfield site page.

label

NameDescriptionProperty Type
textParameter Descriptionobject

input

NameDescriptionProperty Type
typeA string specifying the type of control to display.
Options are;
- text
- button
- checkbox
- radio
- date
- datetime-local
- time
- week
string
inputmodeA string providing a hint to browsers as to the type of virtual keyboard to display.
Options are;
- text
- numeric
- none
string
placeholderText string which appears when no input value is setstring
editableIf true the input field is editableboolean
patternA regex pattern for browser side data validation. 💡 Note does not prevent entry of invalid data Suggestions are;
- [0-9]* for integers
- ^\\d+(\\.\\d{1,2})?$ for floating-point numbers with 1 or 2 decimal places.
string
minMinimum valuestring
maxMaximum valuestring
euDisplayed Engineering Unitstring
valueParameter Valuenumber

Component Events

The component supports the "Action Performed Event".

Further information regarding the Action Performed Event can be found a the Perspective Event Types Reference page. The Component Events and Actions page shows how to configure events and actions on a Perspective component. Component scripting is handled separately and can be accessed from the Component menubar or by right clicking on the component.