Creates a new VectorInput.
The arguments.
Gets the align-items CSS property.
Sets the align-items CSS property.
Gets the align-self CSS property.
Sets the align-self CSS property.
Gets the Binding object for the VectorInput.
Sets the Binding object for the VectorInput. The binding is cloned for each input.
Get the DOMTokenList of the underlying DOM element. This is essentially a shortcut to
element.dom.classList.
Gets the root DOM node for this Element.
Gets whether the Element or its parent chain is enabled or not.
Sets whether the Element or its parent chain is enabled or not. Defaults to true.
Gets whether the Element is in an error state.
Sets whether the Element is in an error state.
Gets the flex-basis CSS property.
Sets the flex-basis CSS property.
Gets the flex-direction CSS property.
Sets the flex-direction CSS property.
Gets the flex-grow CSS property.
Sets the flex-grow CSS property.
Gets the flex-shrink CSS property.
Sets the flex-shrink CSS property.
Gets the flex-wrap CSS property.
Sets the flex-wrap CSS property.
Gets the height of the Element in pixels.
Sets the height of the Element in pixels. Can also be an empty string to remove it.
Gets whether the Element is hidden.
Sets whether the Element is hidden.
Gets whether the Element is hidden all the way up to the root. If the Element itself or any of its parents are hidden then this is true.
Gets whether the Element will ignore parent events & variable states.
Sets whether the Element will ignore parent events & variable states.
Gets the array of NumericInput elements owned by this vector.
Gets the justify-content CSS property.
Sets the justify-content CSS property.
Gets the justify-self CSS property.
Sets the justify-self CSS property.
Gets the maximum value accepted by all inputs of the vector.
Sets the maximum value accepted by all inputs of the vector.
Gets the minimum value accepted by all inputs of the vector.
Sets the minimum value accepted by all inputs of the vector.
Gets the parent Element.
Gets the placeholder text of all inputs as an array.
Sets the placeholder text for all inputs. Can be a single string applied to all inputs, or an array of strings for each input.
Gets the maximum number of decimal places supported by all inputs of the vector.
Sets the maximum number of decimal places supported by all inputs of the vector.
Gets whether the Element is read only.
Sets whether the Element is read only.
Gets whether inputs should flash when their values change.
Sets whether inputs should flash when their values change.
Gets the amount that the value will be increased or decreased when using the arrow keys and the slider input for all inputs of the vector.
Sets the amount that the value will be increased or decreased when using the arrow keys and the slider input for all inputs of the vector.
Shortcut to Element.dom.style.
Gets the tabIndex of the Element.
Sets the tabIndex of the Element.
Gets the value of the VectorInput as an array of numbers.
Sets the value of the VectorInput. This should be an array of numbers matching the dimensions of the vector (e.g. [x, y] for 2D, [x, y, z] for 3D).
Sets multiple values on the VectorInput. Each value should be an array representing the vector dimensions. If all values are the same, the VectorInput will display that value. Otherwise, it will display a "multiple values" state.
Gets the width of the Element in pixels.
Sets the width of the Element in pixels. Can also be an empty string to remove it.
Unfocuses (blurs) all input elements.
Destroys the Element and its events.
Triggers a flash animation on the Element.
Focuses the first input element.
Unlinks the Element from its observers.
StaticcreateCreates a new Element of the desired type.
The type of the Element (registered by Element#register).
Arguments for the Element.
The new Element or undefined if type is not found.
StaticregisterThe type we want to reference this Element by.
The actual class of the Element.
OptionaldefaultArguments: anyDefault arguments when creating this type.
StaticunregisterThe type we want to unregister.
Static ReadonlyEVENT_Fired when the VectorInput loses focus.
Static ReadonlyEVENT_Fired when the value of the VectorInput changes.
Static ReadonlyEVENT_Fired when the mouse is clicked on the Element but only if the Element is enabled. The native DOM MouseEvent is passed as a parameter to the event handler.
Static ReadonlyEVENT_Fired after the element has been destroyed. Both the DOM element and the owner Element instance are passed as parameters to the event handler.
Static ReadonlyEVENT_Fired when the Element gets disabled.
Static ReadonlyEVENT_Fired when the Element gets enabled.
Static ReadonlyEVENT_Fired when the VectorInput receives focus.
Static ReadonlyEVENT_Fired when the Element gets hidden.
Static ReadonlyEVENT_Fired when the Element or any of its parent get hidden.
Static ReadonlyEVENT_Fired when the mouse starts hovering on the Element. The native DOM MouseEvent is passed as a parameter to the event handler.
Static ReadonlyEVENT_Fired when the mouse stops hovering on the Element. The native DOM MouseEvent is passed as a parameter to the event handler.
Static ReadonlyEVENT_Fired when the Element's parent gets set.
Static ReadonlyEVENT_Fired when the readOnly property of an Element changes.
Static ReadonlyEVENT_Fired when the Element stops being hidden.
Static ReadonlyEVENT_Fired when the Element and all of its parents become visible.
A vector input. The vector can have 2 to 4 dimensions with each dimension being a NumericInput.