Input variable
Example#
Code-example#
<html>
<body>
<measmatic-card>
<measmatic-input data-id="1" variables value="12"></measmatic-input>
<measmatic-input data-id="2" selected-prefix="m" variables unit="V" start-prefix="P" end-prefix="n" value="12"></measmatic-input>
<measmatic-input data-id="3" variables unit="V" start-prefix="" end-prefix="" value="12" type="number"></measmatic-input>
<measmatic-input data-id="4" selected-prefix="m" variables unit="V" start-prefix="P" end-prefix="n" value="12" type="text"></measmatic-input>
<measmatic-input data-id="5" value="variables=unset" type="text"></measmatic-input>
<measmatic-input data-id="6" variables="true" value="variables=true" type="text"></measmatic-input>
<measmatic-input data-id="7" variables="false" value="variables=false" type="text"></measmatic-input>
<measmatic-input data-id="8" selected-prefix="m" variables unit="V" start-prefix="P" end-prefix="n" value="12" type="checkbox"></measmatic-input>
</measmatic-card>
</body>
</html>
Measmatic-input-variable#
This element is used by measmatic-input and provides the functionality to choose from variables given by other tests.#
Properties of interest
variable
get/set an Object with properties of the selected variablevariableName
,variableGuid
,testGuid
enabled
get/set status of the elementtoggleDropdown()
toggles dropdownopenDropdown()
opens dropdown-
closeDropdown()
closes dropdown -
parent
variable containing parent measmatic-input inputField
variable containing inputField connected to this elementinputUnit
variable containing inputUnit