Optional properties for Color Picker property item

interface IColorPickerPropertyItemOptions {
    enable?: boolean;
    hiddenAlpha?: boolean;
    hiddenLabel?: boolean;
    onChange?: (newValue: RGBA, oldValue: RGBA) => void;
    title?: LocalizedString;
    tooltip?: LocalizedString;
    variant?: ColorPickerPropertyItemVariant;
    visible?: boolean;
}

Hierarchy (View Summary)

Properties

enable?: boolean

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

hiddenAlpha?: boolean

If true alpha control will be hidden. If undefined, it will default to false.

hiddenLabel?: boolean

If true label text will be hidden. It will be visible by default.

onChange?: (newValue: RGBA, oldValue: RGBA) => 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.

The variant for the button. By default it is Primary.

visible?: boolean

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