跳到主要内容

Interface: IPropertyItemOptionsButton

Extends

Properties

enable?

optional enable: boolean

Remarks

If the item is enabled in the UI.

Inherited from

IPropertyItemOptions . enable


icon?

optional icon: string


onChange?

optional onChange: OnChangeCallback <PropertyBag, string>

Remarks

Callback to execute when the value is updated.

Inherited from

IPropertyItemOptions . onChange


titleAltText?

optional titleAltText: string

Remarks

Fallback display text if no loc ID

Inherited from

IPropertyItemOptions . titleAltText


titleStringId?

optional titleStringId: string

Remarks

Loc ID (resolved on client)

Inherited from

IPropertyItemOptions . titleStringId


variant?

optional variant: ButtonVariant

Remarks

The variant for the button. By default it is "primary"


visible?

optional visible: boolean

Remarks

If the item should be visible in the UI.

Inherited from

IPropertyItemOptions . visible