Optional
allowSets whether the value can be null
. If not then it will be 0 instead of null
.
Optional
bindingA binding to use with this Element.
Optional
blurSets whether pressing Enter will blur (unfocus) the field. Defaults to true
.
Optional
blurSets whether pressing Escape will blur (unfocus) the field. Defaults to true
.
Optional
classThe class attribute of this Element's HTMLElement.
Optional
domThe HTMLElement to create this Element with. If not provided this Element will create one.
Optional
enabledSets whether it is possible to interact with this Element and its children.
Optional
errorSets whether the Element is in an error state.
Optional
heightSets the initial height of the Element.
Optional
hiddenSets whether this Element is hidden. Defaults to false
.
Optional
hideHide the input mouse drag slider.
Optional
idThe id attribute of this Element's HTMLElement.
Optional
ignoreIf true
, this Element will ignore its parent's enabled value when determining whether this element is enabled. Defaults to false
.
Optional
inputThe input element to associate this InputElement with. If not supplied one will be created instead.
Optional
isSets whether this Element is at the root of the hierarchy.
Optional
keySets whether any key up event will cause a change event to be fired.
Optional
linkLinks the observer attribute at the path location in the given observer to this Element.
Optional
maxSets the maximum value this field can take.
Optional
minSets the minimum value this field can take.
Optional
onIf provided and the Element is changeable, this function will be called each time the element value is changed.
Optional
onIf provided and the Element is clickable, this function will be called each time the element is clicked.
Optional
onIf provided and the Element is removable, this function will be called each time the element is removed.
Optional
parentSets the parent Element.
Optional
placeholderSets the placeholder label that appears on the right of the input.
Optional
precisionSets the decimal precision of this field. Defaults to 2.
Optional
readWhether this Element is read only or not. Defaults to false
.
Optional
renderIf true
each input will flash on changes.
Optional
stepSets the amount that the value will be increased or decreased when using the arrow keys and the slider input.
Optional
stepSets the amount that the value will be increased or decreased when holding shift using the arrow keys and the slider input. Defaults to NumericInput#step * 0.1.
Optional
styleSets an initial value for Element.dom.style.
Optional
tabSets the tabIndex of the Element.
Optional
valueSets the value of the Element.
Optional
valuesSets multiple values to the Element. It is up to the Element to determine how to display them.
Optional
widthSets the initial width of the Element.
The arguments for the NumericInput constructor.