Optional properties for Bool property item

interface IBoolPropertyItemOptions {
    enable?: boolean;
    hiddenLabel?: boolean;
    onChange?: (newValue: boolean, oldValue: boolean) => void;
    title?: LocalizedString;
    tooltip?: LocalizedString;
    variant?: BoolPropertyItemVariant;
    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. It will be visible by default.

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

This callback is called when UI control value is changed.

Localized title of the text item.

tooltip?: LocalizedString

Tooltip description of the property item

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

visible?: boolean

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