Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SizeSelectorDef

This will create number only input field with increase/decrease buttons.

Hierarchy

Indexable

[key: string]: any

This will create number only input field with increase/decrease buttons.

Index

Properties

Optional afterInit

Optional attr

attr: IDictionary<string>

Object defining html attributes for controls root element.

change

Callback that will be called when value changed.

Optional clearTrailingZeroes

clearTrailingZeroes: undefined | false | true

If set to true all trailing zeroes after decimal separator are trimmed. (default: true)

Optional click

Callback that will be called when control is clicked.

Optional css

css: JQueryCssProperties

Object defining css styles for controls root element.

Optional enabled

enabled: undefined | false | true

If true control will be enabled if false control will be disabled (inactive).

Optional fixedWidth

fixedWidth: undefined | number

Optional id

id: undefined | string

Reference id of the control, it will be used to reference this control in the code throuth FieldsIndex objects.

Optional ignore

ignore: undefined | false | true

If true this control definition will be ignored and control will not be initiated.

Optional init

Callback that will be called when control is initialised.

Optional max

max: undefined | number

Maximum allowed value. (default: 9999)

Optional min

min: undefined | number

Minimum allowed value. (default: 1)

Optional noFixedWidth

noFixedWidth: undefined | false | true

If true control width will ajust to parent width else will be fixed width. (default: false)

Optional on

Optional precision

precision: undefined | number

Number of digits after decimal dot. (default: 0)

Optional repeat

repeat: undefined | false | true

If true then when value is at max and increase button is pressed value will change to min instead of stopping. (default: false)

Optional step

step: undefined | number

Value by what controls value will change when increase/decrease buttons are pressed. (default: 1)

Optional styleClass

styleClass: undefined | string

Style class to add on root element of the control.

type

type: "SizeSelector"

Optional units

units: undefined | string

Units name to be rendered on the right of the field (ex. 'px' for pixels).

Optional value

value: undefined | number

Initial control value.

Optional visible

visible: undefined | false | true

Set initial visibility of control. (default: true)