Optional properties for Number property item

interface INumberPropertyItemOptions {
    enable?: boolean;
    hiddenLabel?: boolean;
    isInteger?: boolean;
    max?: number;
    min?: number;
    onChange?: (newValue: number, oldValue: number) => void;
    title?: LocalizedString;
    tooltip?: LocalizedString;
    variant?: NumberPropertyItemVariant;
    visible?: boolean;
}

Hierarchy (View Summary)

Properties

enable?: boolean

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

hiddenLabel?: boolean

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

isInteger?: boolean

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

max?: number

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

min?: number

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

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

This callback is called when UI control value is changed.

Localized title of the property item.

tooltip?: LocalizedString

Tooltip description of the property item.

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

visible?: boolean

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