Optional properties for Bool property item

Hierarchy

Properties

enable?: boolean

Remarks

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

hiddenLabel?: boolean

Remarks

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

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

Type declaration

    • (newValue, oldValue): void
    • Parameters

      • newValue: boolean
      • oldValue: boolean

      Returns void

      Remarks

      This callback is called when UI control value is changed.

Remarks

Localized title of the text item.

tooltip?: LocalizedString

Remarks

Tooltip description of the property item

Remarks

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

visible?: boolean

Remarks

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