Optional properties for Number property item

Hierarchy

Properties

enable?: boolean

Remarks

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

hiddenLabel?: boolean

Remarks

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

isInteger?: boolean

Remarks

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

max?: number

Remarks

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

min?: number

Remarks

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

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

Type declaration

    • (newValue, oldValue): void
    • Parameters

      • newValue: number
      • oldValue: number

      Returns void

      Remarks

      This callback is called when UI control value is changed.

Remarks

Localized title of the property item.

tooltip?: LocalizedString

Remarks

Tooltip description of the property item.

Remarks

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

visible?: boolean

Remarks

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