interface IPropertyItemOptionsBool {
    displayAsToggleSwitch?: boolean;
    enable?: boolean;
    onChange?: OnChangeCallback<PropertyBag, string>;
    titleAltText?: string;
    titleStringId?: string;
    visible?: boolean;
}

Hierarchy (View Summary)

Properties

displayAsToggleSwitch?: boolean

controls appearance of the boolean. checkbox or toggleswitch

enable?: boolean

If the item is enabled in the UI.

onChange?: OnChangeCallback<PropertyBag, string>

Callback to execute when the value is updated.

titleAltText?: string

Fallback display text if no loc ID

titleStringId?: string

Loc ID (resolved on client)

visible?: boolean

If the item should be visible in the UI.