interface IPropertyItemOptionsNumber {
    enable?: boolean;
    isFloat?: boolean;
    max?: number;
    min?: number;
    onChange?: OnChangeCallback<PropertyBag, string>;
    showSlider?: boolean;
    title?: string;
    visible?: boolean;
}

Hierarchy (View Summary)

Properties

enable?: boolean

If the item is enabled in the UI.

isFloat?: boolean

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

max?: number

The min possible value for the number.

min?: number

The max possible value for the number.

onChange?: OnChangeCallback<PropertyBag, string>

Callback to execute when the value is updated.

showSlider?: boolean

If UI should show slider control.

title?: string

Localized title of the property item

visible?: boolean

If the item should be visible in the UI.