A property item which supports Number properties

interface INumberPropertyItem {
    enable: boolean;
    id: string;
    paneId: string;
    typeName: PropertyItemType;
    value: number;
    visible: boolean;
    setTitle(title: LocalizedString): void;
    setTooltip(tooltip: LocalizedString): void;
    updateLimits(limits: { max?: number; min?: number }): void;
}

Hierarchy (View Summary)

Properties

enable: boolean

If the item is enabled in the UI.

id: string

Unique ID for the property item.

paneId: string

The parent pane id.

The type name of the target property.

value: number

Current value of the property item.

visible: boolean

If the item should be visible in the UI.

Methods

  • Parameters

    Returns void

    Updates tooltip description of property item.

  • Parameters

    • limits: { max?: number; min?: number }

    Returns void

    Updates number limits and clamps the current value.