Changes

Jump to: navigation, search

XUL:Specs:NumberBox

150 bytes added, 16:37, 17 August 2006
Number Box
All attributes shown above have a corresponding property. The decimalPlaces property corrsponds to the decimalplaces atribute. The wrapAround property corresponds to the wraparound attribute.
; min : The minimum value the number in the field may be. The value cannot be decreased below this value. The default value is 0. To set no minimum value, use -Infinity.
; max : The maximum value the number in the field may be. The value cannot be increased above this value. The default value is Infinity.
; value : The current value of the field. The default value is 0 or the value of the min attribute, whichever is higher.
; increment : The amount the number in the field is incremented or decremented when the arrows are pressed. The default value is 1.
; decimalplaces : the number of decmal decimal places to display. The default value is 0, which doesn't show decimal places. The value Infinity may be used for unlimited decimal places. Note that decimal numbers are stored as floats.
; wraparound : if true, the values will wrap around when reachng the minimum or maximum values. Both the min and max must not be Infinity.
; hidespinbuttons : if true, the spinbuttons are hidden. The default value is false.
287
edits

Navigation menu