For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server-editor/interfaces/INumberPropertyItemOptions.md.

Interface: INumberPropertyItemOptions experimental

Beta

Optional properties for Number property item

Extends

Properties

enable?

optional enable?: boolean

Beta

Remarks

Initial enabled state of property item. If undefined, it will default to true.

Inherited from

IPropertyItemOptionsBase.enable


hiddenLabel?

optional hiddenLabel?: boolean

Beta

Remarks

If true label text will be hidden. If undefined, the label will be visible by default.


isInteger?

optional isInteger?: boolean

Beta

Remarks

If we should treat the number as integer. By default is false.


max?

optional max?: number

Beta

Remarks

The min possible number. If undefined, Number.MAX_SAFE_INTEGER will be used.


min?

optional min?: number

Beta

Remarks

The min possible number. If undefined, Number.MIN_SAFE_INTEGER will be used.


onChange?

optional onChange?: (newValue, oldValue) => void

Beta

Parameters

newValue

number

oldValue

number

Returns

void

Remarks

This callback is called when UI control value is changed.


style?

optional style?: PaneItemStyle

Beta

Remarks

Optional styling overrides for the item.

Inherited from

IPropertyItemOptionsBase.style


title?

optional title?: LocalizedString

Beta

Remarks

Localized title of the property item.


tooltip?

optional tooltip?: BasicTooltipContent

Beta

Remarks

Tooltip description of the property item.


variant?

optional variant?: NumberPropertyItemVariant

Beta

Remarks

Determines how we display bool as a UI element. If undefined, it will default to InputField.


visible?

optional visible?: boolean

Beta

Remarks

Initial visibility state of property item. If undefined, it will default to true.

Inherited from

IPropertyItemOptionsBase.visible