Constructor
new Vector3Input(labelVector, step, value, labelsopt)
A custom element with three input fields for x, y and z values, and dispatches a 'change' event when any of the input values are changed.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
labelVector | string | A string that represents the label for the vector input. | |
step | number | A number that specifies the increment or decrement value for the input fields. | |
value | number | The initial value that will be set for all three input fields ( | |
labels | Array.<string> | <optional> | An optional array that contains the labels for the input fields. By default, it is set to |
Classes
Members
inputElements
The function returns an array of input elements.